summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-11 15:20:37 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-11 15:20:37 +0000
commitec691c804f66ee99dc24a6cfe4467a56982f9115 (patch)
tree9352b494d2fac8d7a46a1da797f26887a51d8fb9 /vl.c
parentb0a7b120a357733d9c554a1a3b125991114a1135 (diff)
downloadqemu-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 'vl.c')
-rw-r--r--vl.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/vl.c b/vl.c
index 219815114d..7b51b54b9e 100644
--- a/vl.c
+++ b/vl.c
@@ -242,12 +242,8 @@ int alt_grab = 0;
unsigned int nb_prom_envs = 0;
const char *prom_envs[MAX_PROM_ENVS];
#endif
-static int nb_drives_opt;
-static struct drive_opt {
- const char *file;
- char opt[1024];
- int used;
-} drives_opt[MAX_DRIVES];
+int nb_drives_opt;
+struct drive_opt drives_opt[MAX_DRIVES];
static CPUState *cur_cpu;
static CPUState *next_cpu;