virtio-blk: switch to standard-headers
commit907eb3e5b6fad79308977ec7f885ef549e64daca
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 16 Feb 2015 21:36:03 +0000 (16 22:36 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 26 Feb 2015 12:04:04 +0000 (26 13:04 +0100)
treee6358715d33cd549322bdee1d3784a764744884a
parent8744a6a8d500d3509de1f5e33b8cd7d22ec37cf1
virtio-blk: switch to standard-headers

Drop duplicated code. Minor codechanges were required
as geometry is a sub-structure now.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
hw/block/virtio-blk.c
include/hw/virtio/virtio-blk.h