[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/2] SCSI emulation: should tell the guest that we a
From: |
Ronnie Sahlberg |
Subject: |
[Qemu-devel] [PATCH 2/2] SCSI emulation: should tell the guest that we actually support thin provisioning |
Date: |
Thu, 19 Apr 2012 20:41:17 +1000 |
Signed-off-by: Ronnie Sahlberg <address@hidden>
---
hw/scsi-disk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c
index ccd9291..d6c197f 100644
--- a/hw/scsi-disk.c
+++ b/hw/scsi-disk.c
@@ -532,7 +532,7 @@ static int scsi_disk_emulate_inquiry(SCSIRequest *req,
uint8_t *outbuf)
outbuf[3] = buflen = 8;
outbuf[4] = 0;
outbuf[5] = 0x60; /* write_same 10/16 supported */
- outbuf[6] = 0;
+ outbuf[6] = 2; /* thin provisioning */
outbuf[7] = 0;
break;
}
--
1.7.3.1