[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-fs

[Qemu-devel] [PATCH] Use preadv/pwritev instead of readv/writev

2010-10-06 Thread Sanchit Garg
implemented by an lseek followed by a readv. Depending upon the configuration of QEMU, the appropriate read & write methods are selected. This patch also fixes the zero byte read/write bug & obviates the need to apply a fix for that bug separately. Signed-off-by: M. Mohan Kumar Signed-