scsi: add topology support
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Feb 2010 22:37:37 +0000 (23:37 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 10 Feb 2010 22:53:54 +0000 (16:53 -0600)
commit170f60e0590f8b9816e33937432ec4278167452b
tree21624d0770e31957687ca4b831fa18e32e5d1a2e
parent829a58ad20e6abd927016a14afbf4cf58d87e012
scsi: add topology support

Export the physical block size in the READ CAPACITY (16) command,
and add the new block limits VPD page to export the minimum and
optiomal I/O sizes.

Note that we also need to bump the scsi revision level to SPC-2
as that is the minimum requirement by at least the Linux kernel
to try READ CAPACITY (16) first and look at the block limits VPD
page.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/scsi-disk.c