aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-12-16 14:25:39 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-18 11:26:27 -0600
commitac33f8fad14e07fa12b74c3494339ae6882dc22f (patch)
treea4884efcb2a4ec5c04b8e594ede95a4b2a0fbaab /hw
parent2daa11912699d9412fb4404d646031a74b166aa5 (diff)
defaults: split default_drive
Split default_drive into default_{floppy,cdrom,sdcard}. Also add QEMUMachine flags to disable them per machine. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/boards.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/boards.h b/hw/boards.h
index 8fe0fbc8fc..e1beda308b 100644
--- a/hw/boards.h
+++ b/hw/boards.h
@@ -22,7 +22,10 @@ typedef struct QEMUMachine {
int no_serial:1,
no_parallel:1,
use_virtcon:1,
- no_vga:1;
+ no_vga:1,
+ no_floppy:1,
+ no_cdrom:1,
+ no_sdcard:1;
int is_default;
GlobalProperty *compat_props;
struct QEMUMachine *next;