]> git.proxmox.com Git - qemu.git/commitdiff
blockdev: Move BlockInterfaceType from qemu-common.h to blockdev.h
authorMarkus Armbruster <armbru@redhat.com>
Fri, 28 Jan 2011 10:21:38 +0000 (11:21 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 31 Jan 2011 09:24:25 +0000 (10:24 +0100)
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.h
qemu-common.h

index 3ed66348d3d4b345a330aaacb88bcb0d2b335cc5..2cbbb87dc79c8b64be3c4c494d570ddf067c3c2a 100644 (file)
@@ -18,6 +18,12 @@ void blockdev_auto_del(BlockDriverState *bs);
 
 #define BLOCK_SERIAL_STRLEN 20
 
+typedef enum {
+    IF_NONE,
+    IF_IDE, IF_SCSI, IF_FLOPPY, IF_PFLASH, IF_MTD, IF_SD, IF_VIRTIO, IF_XEN,
+    IF_COUNT
+} BlockInterfaceType;
+
 struct DriveInfo {
     BlockDriverState *bdrv;
     char *id;
index 79e1149ea1d4d2fc7c53186bcd0bc989f943c8db..c7ff280b952f41f06c033ba1085f789406a3cc98 100644 (file)
@@ -274,12 +274,6 @@ typedef struct VirtIODevice VirtIODevice;
 
 typedef uint64_t pcibus_t;
 
-typedef enum {
-    IF_NONE,
-    IF_IDE, IF_SCSI, IF_FLOPPY, IF_PFLASH, IF_MTD, IF_SD, IF_VIRTIO, IF_XEN,
-    IF_COUNT
-} BlockInterfaceType;
-
 void cpu_exec_init_all(unsigned long tb_size);
 
 /* CPU save/load.  */