Revision 99aba0c4

b/hw/scsi-disk.c
460 460
    }
461 461
    memcpy(&outbuf[8], "QEMU    ", 8);
462 462
    memcpy(&outbuf[32], s->version ? s->version : QEMU_VERSION, 4);
463
    /* Identify device as SCSI-3 rev 1.
464
       Some later commands are also implemented. */
463
    /*
464
     * We claim conformance to SPC-3, which is required for guests
465
     * to ask for modern features like READ CAPACITY(16) or the
466
     * block characteristics VPD page by default.  Not all of SPC-3
467
     * is actually implemented, but we're good enough.
468
     */
465 469
    outbuf[2] = 5;
466 470
    outbuf[3] = 2; /* Format 2 */
467 471

  

Also available in: Unified diff