Patchwork [19/23] or32-sim: Suppress unused default drives

login
register
mail settings
Submitter Markus Armbruster
Date Aug. 9, 2012, 1:31 p.m.
Message ID <1344519084-21847-20-git-send-email-armbru@redhat.com>
Download mbox | patch
Permalink /patch/176137/
State New
Headers show

Comments

Markus Armbruster - Aug. 9, 2012, 1:31 p.m.
Suppress default floppy, CD-ROM and SD card drive.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 hw/openrisc_sim.c | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/hw/openrisc_sim.c b/hw/openrisc_sim.c
index 55e97f0..13631ea 100644
--- a/hw/openrisc_sim.c
+++ b/hw/openrisc_sim.c
@@ -139,6 +139,9 @@  static QEMUMachine openrisc_sim_machine = {
     .desc = "or32 simulation",
     .init = openrisc_sim_init,
     .max_cpus = 1,
+    .no_floppy = 1,
+    .no_cdrom = 1,
+    .no_sdcard = 1,
     .is_default = 1,
 };