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