Re: [Qemu-devel] [PATCH] Convert fprintf() to error_request(): virtio-9p

2010-12-14 Thread Markus Armbruster
Stefan Hajnoczi writes: > On Wed, Dec 1, 2010 at 6:01 PM, Venkateswararao Jujjuri (JV) > wrote: >> On 12/1/2010 1:35 AM, Stefan Hajnoczi wrote: >>> On Tue, Nov 30, 2010 at 9:52 AM, Sanchit Garg >>> wrote: @@ -3707,19 +3708,19 @@ VirtIODevice *virtio_9p_init(DeviceState *dev, V9fsConf

Re: [Qemu-devel] [PATCH] Convert fprintf() to error_request(): virtio-9p

2010-12-01 Thread Stefan Hajnoczi
On Wed, Dec 1, 2010 at 6:01 PM, Venkateswararao Jujjuri (JV) wrote: > On 12/1/2010 1:35 AM, Stefan Hajnoczi wrote: >> On Tue, Nov 30, 2010 at 9:52 AM, Sanchit Garg >> wrote: >>> @@ -3707,19 +3708,19 @@ VirtIODevice *virtio_9p_init(DeviceState *dev, >>> V9fsConf *conf) >>>         s->ctx.fs_sm =

Re: [Qemu-devel] [PATCH] Convert fprintf() to error_request(): virtio-9p

2010-12-01 Thread Venkateswararao Jujjuri (JV)
On 12/1/2010 1:35 AM, Stefan Hajnoczi wrote: > On Tue, Nov 30, 2010 at 9:52 AM, Sanchit Garg > wrote: >> @@ -3707,19 +3708,19 @@ VirtIODevice *virtio_9p_init(DeviceState *dev, >> V9fsConf *conf) >> s->ctx.fs_sm = SM_NONE; >> s->ctx.xops = none_xattr_ops; >> } else { >> -

Re: [Qemu-devel] [PATCH] Convert fprintf() to error_request(): virtio-9p

2010-12-01 Thread Stefan Hajnoczi
On Tue, Nov 30, 2010 at 9:52 AM, Sanchit Garg wrote: > @@ -3707,19 +3708,19 @@ VirtIODevice *virtio_9p_init(DeviceState *dev, > V9fsConf *conf) >         s->ctx.fs_sm = SM_NONE; >         s->ctx.xops = none_xattr_ops; >     } else { > -        fprintf(stderr, "Default to security_model=none. You

[Qemu-devel] [PATCH] Convert fprintf() to error_request(): virtio-9p

2010-12-01 Thread Sanchit Garg
Signed-off-by: Sanchit Garg --- hw/virtio-9p.c | 21 +++-- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/hw/virtio-9p.c b/hw/virtio-9p.c index 7c59988..d64d05a 100644 --- a/hw/virtio-9p.c +++ b/hw/virtio-9p.c @@ -18,6 +18,7 @@ #include "fsdev/qemu-fsdev.h" #