Patchwork [v2,for-1.2,20/27] mips_malta mips_r4k: Suppress unused default drives

login
register
mail settings
Submitter Markus Armbruster
Date Aug. 15, 2012, 7:17 p.m.
Message ID <1345058260-16229-21-git-send-email-armbru@redhat.com>
Download mbox | patch
Permalink /patch/177785/
State New
Headers show

Comments

Markus Armbruster - Aug. 15, 2012, 7:17 p.m.
Cc: Aurelien Jarno <aurelien@aurel32.net>

Suppress default SD card drive for machines malta, mips.

Suppress default floppy drive for machine mips.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 hw/mips_malta.c | 1 -
 hw/mips_r4k.c   | 2 --
 2 files changed, 3 deletions(-)

Patch

diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index f86d977..7a9acfd 100644
--- a/hw/mips_malta.c
+++ b/hw/mips_malta.c
@@ -1021,7 +1021,6 @@  static QEMUMachine mips_malta_machine = {
     .max_cpus = 16,
     .use_floppy = 1,
     .use_cdrom = 1,
-    .use_sdcard = 1,
     .is_default = 1,
 };
 
diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c
index f7adfdc..ac3ceff 100644
--- a/hw/mips_r4k.c
+++ b/hw/mips_r4k.c
@@ -299,9 +299,7 @@  static QEMUMachine mips_machine = {
     .name = "mips",
     .desc = "mips r4k platform",
     .init = mips_r4k_init,
-    .use_floppy = 1,
     .use_cdrom = 1,
-    .use_sdcard = 1,
 };
 
 static void mips_machine_init(void)