qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 5/6] kvm: qemu: improve scsi dma speed by increa


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 5/6] kvm: qemu: improve scsi dma speed by increasing the dma buffer size
Date: Sat, 19 Jul 2008 21:37:32 -0500
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

Sorry Paul, I should have CC'd you here. Do you see any immediate problem doing this? Didn't see any comments when from you when it was originally posted.

Regards,

Anthony Liguori

Anthony Liguori wrote:
From: Avi Kivity <address@hidden>

taken from Xen 17267:f4a92f0db20f, original patch by Samuel Thibault.

Signed-off-by: Avi Kivity <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c
index 44462d4..fc7fbe0 100644
--- a/hw/scsi-disk.c
+++ b/hw/scsi-disk.c
@@ -34,7 +34,7 @@ do { fprintf(stderr, "scsi-disk: " fmt , ##args); } while (0)
 #define SENSE_HARDWARE_ERROR  4
 #define SENSE_ILLEGAL_REQUEST 5
-#define SCSI_DMA_BUF_SIZE 65536
+#define SCSI_DMA_BUF_SIZE    131072
typedef struct SCSIRequest {
     SCSIDeviceState *dev;







reply via email to

[Prev in Thread] Current Thread [Next in Thread]