Commit f0f72ffe64d5ff1cfd625dae76e46342e1e5258e

Authored by aurel32
1 parent 9155fc45

qemu: improve scsi dma speed by increasing the dma buffer size

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

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5385 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
hw/scsi-disk.c
... ... @@ -34,7 +34,7 @@ do { fprintf(stderr, &quot;scsi-disk: &quot; fmt , ##args); } while (0)
34 34 #define SENSE_HARDWARE_ERROR 4
35 35 #define SENSE_ILLEGAL_REQUEST 5
36 36  
37   -#define SCSI_DMA_BUF_SIZE 65536
  37 +#define SCSI_DMA_BUF_SIZE 131072
38 38  
39 39 typedef struct SCSIRequest {
40 40 SCSIDeviceState *dev;
... ...