Patchwork [18/23] mips_fulong2e, mips_mipssim: Suppress unused default drives

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

Comments

Markus Armbruster - Aug. 9, 2012, 1:31 p.m.
Suppress default floppy and SD card drive for machines fulong2e,
mipssim.

Suppress default CD-ROM drive for machine mipssim.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 hw/mips_fulong2e.c | 2 ++
 hw/mips_mipssim.c  | 3 +++
 2 files changed, 5 insertions(+)

Patch

diff --git a/hw/mips_fulong2e.c b/hw/mips_fulong2e.c
index 38e4b86..78b1832 100644
--- a/hw/mips_fulong2e.c
+++ b/hw/mips_fulong2e.c
@@ -396,6 +396,8 @@  QEMUMachine mips_fulong2e_machine = {
     .name = "fulong2e",
     .desc = "Fulong 2e mini pc",
     .init = mips_fulong2e_init,
+    .no_floppy = 1,
+    .no_sdcard = 1,
 };
 
 static void mips_fulong2e_machine_init(void)
diff --git a/hw/mips_mipssim.c b/hw/mips_mipssim.c
index 830f635..faa0eb9 100644
--- a/hw/mips_mipssim.c
+++ b/hw/mips_mipssim.c
@@ -226,6 +226,9 @@  static QEMUMachine mips_mipssim_machine = {
     .name = "mipssim",
     .desc = "MIPS MIPSsim platform",
     .init = mips_mipssim_init,
+    .no_floppy = 1,
+    .no_cdrom = 1,
+    .no_sdcard = 1,
 };
 
 static void mips_mipssim_machine_init(void)