Add internal scsi generic block API (Avi Kivity)
commit04eeb8b6d68ed314746856c813ce6fa8bc1a95df
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 12 Mar 2009 19:57:12 +0000 (12 19:57 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 12 Mar 2009 19:57:12 +0000 (12 19:57 +0000)
tree46b648594c2e0c1db08685d4396e373b8d53cc87
parent7d78066926b68afe28a1948c64618ee085d9ab02
Add internal scsi generic block API (Avi Kivity)

Add an internal API for the generic block layer to send scsi generic commands
to block format driver.  This means block format drivers no longer need
to consider overloaded nb_sectors parameters.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6823 c046a42c-6fe2-441c-8c8c-71466251a162
block-raw-posix.c
block.c
block_int.h