aboutsummaryrefslogtreecommitdiff
path: root/sysemu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysemu.h b/sysemu.h
index 78d70c548f..9b99343368 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -154,6 +154,15 @@ extern void drive_remove(int index);
extern const char *drive_get_serial(BlockDriverState *bdrv);
extern BlockInterfaceErrorAction drive_get_onerror(BlockDriverState *bdrv);
+struct drive_opt {
+ const char *file;
+ char opt[1024];
+ int used;
+};
+
+extern struct drive_opt drives_opt[MAX_DRIVES];
+extern int nb_drives_opt;
+
/* serial ports */
#define MAX_SERIAL_PORTS 4