summaryrefslogtreecommitdiff
path: root/hw/virtio-blk.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-08-24 15:22:24 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-08-24 15:22:24 +0000
commit2446333cd5b5c985f6517dee7004e542ecacd21c (patch)
tree9646889006f9944dc5d530b73d35a6c3c30c239b /hw/virtio-blk.c
parente945fb76271eb4c8ceed6bff417a0b98744e1af3 (diff)
downloadqemu-2446333cd5b5c985f6517dee7004e542ecacd21c.tar.gz
qemu-2446333cd5b5c985f6517dee7004e542ecacd21c.tar.bz2
qemu-2446333cd5b5c985f6517dee7004e542ecacd21c.zip
Rearrange block headers
Changing block.h or blockdev.h resulted in recompiling most objects. Move DriveInfo typedef and BlockInterfaceType enum definitions to qemu-common.h and rearrange blockdev.h use to decrease churn. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/virtio-blk.c')
-rw-r--r--hw/virtio-blk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/virtio-blk.c b/hw/virtio-blk.c
index 490cd41050..c3a73438f9 100644
--- a/hw/virtio-blk.c
+++ b/hw/virtio-blk.c
@@ -13,6 +13,7 @@
#include <qemu-common.h>
#include "qemu-error.h"
+#include "blockdev.h"
#include "virtio-blk.h"
#ifdef __linux__
# include <scsi/sg.h>