From: Christoph Hellwig Date: Thu, 4 Mar 2010 13:45:44 +0000 (+0100) Subject: scsi: update comment on the standards revision X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~8538 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99aba0c41b6e817661ddf2ad90111c2d8af00050;p=sdk%2Femulator%2Fqemu.git scsi: update comment on the standards revision Signed-off-by: Christoph Hellwig Signed-off-by: Aurelien Jarno --- diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c index b2f61fe..bf7efc0 100644 --- a/hw/scsi-disk.c +++ b/hw/scsi-disk.c @@ -460,8 +460,12 @@ static int scsi_disk_emulate_inquiry(SCSIRequest *req, uint8_t *outbuf) } memcpy(&outbuf[8], "QEMU ", 8); memcpy(&outbuf[32], s->version ? s->version : QEMU_VERSION, 4); - /* Identify device as SCSI-3 rev 1. - Some later commands are also implemented. */ + /* + * We claim conformance to SPC-3, which is required for guests + * to ask for modern features like READ CAPACITY(16) or the + * block characteristics VPD page by default. Not all of SPC-3 + * is actually implemented, but we're good enough. + */ outbuf[2] = 5; outbuf[3] = 2; /* Format 2 */