aboutsummaryrefslogtreecommitdiffstats
path: root/sysemu.h
diff options
context:
space:
mode:
authorDavid Turner <digit@android.com>2010-09-10 10:42:32 +0200
committerDavid 'Digit' Turner <digit@android.com>2010-09-13 00:30:34 -0700
commitd06599430ac907d1a89bbfda4bf3621f909aac8e (patch)
tree196c05a749a555b4b42b29622a7fa23913fa72d0 /sysemu.h
parenta25351325187eb8eff8b9b090acd8f2d7684c6ff (diff)
downloadexternal_qemu-d06599430ac907d1a89bbfda4bf3621f909aac8e.zip
external_qemu-d06599430ac907d1a89bbfda4bf3621f909aac8e.tar.gz
external_qemu-d06599430ac907d1a89bbfda4bf3621f909aac8e.tar.bz2
upstream: qemu-common.h updates.
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/sysemu.h b/sysemu.h
index adccb93..0d332c1 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -162,16 +162,11 @@ extern unsigned int nb_prom_envs;
#endif
typedef enum {
- IF_IDE, IF_SCSI, IF_FLOPPY, IF_PFLASH, IF_MTD, IF_SD, IF_VIRTIO, IF_XEN,
- IF_COUNT
-} BlockInterfaceType;
-
-typedef enum {
BLOCK_ERR_REPORT, BLOCK_ERR_IGNORE, BLOCK_ERR_STOP_ENOSPC,
BLOCK_ERR_STOP_ANY
} BlockInterfaceErrorAction;
-typedef struct DriveInfo {
+struct DriveInfo {
BlockDriverState *bdrv;
BlockInterfaceType type;
int bus;
@@ -180,7 +175,7 @@ typedef struct DriveInfo {
int drive_opt_idx;
BlockInterfaceErrorAction onerror;
char serial[21];
-} DriveInfo;
+};
#define MAX_IDE_DEVS 2
#define MAX_SCSI_DEVS 7