blockdev: Move BlockInterfaceType from qemu-common.h to blockdev.h
Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
13839974d1
commit
904ebffee5
@ -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;
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user