diff options
author | aliguori | 2009-02-11 16:20:37 +0100 |
---|---|---|
committer | aliguori | 2009-02-11 16:20:37 +0100 |
commit | ec691c804f66ee99dc24a6cfe4467a56982f9115 (patch) | |
tree | 9352b494d2fac8d7a46a1da797f26887a51d8fb9 /sysemu.h | |
parent | qemu: record devfn on block driver instance (Marcelo Tosatti) (diff) | |
download | qemu-ec691c804f66ee99dc24a6cfe4467a56982f9115.tar.gz qemu-ec691c804f66ee99dc24a6cfe4467a56982f9115.tar.xz qemu-ec691c804f66ee99dc24a6cfe4467a56982f9115.zip |
qemu: move drives_opt for external use (Marcelo Tosatti)
Device hotplug will use that structure from a separate
file.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6598 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |