Patchwork [v2,for-1.2,24/27] sh4: Suppress unused default drives

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

Comments

Markus Armbruster - Aug. 15, 2012, 7:17 p.m.
Cc: Magnus Damm <magnus.damm@gmail.com>

Suppress default floppy, CD-ROM and SD card drives for machines r2d,
shix.

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

Patch

diff --git a/hw/r2d.c b/hw/r2d.c
index e4812ea..0f16e81 100644
--- a/hw/r2d.c
+++ b/hw/r2d.c
@@ -344,9 +344,6 @@  static QEMUMachine r2d_machine = {
     .name = "r2d",
     .desc = "r2d-plus board",
     .init = r2d_init,
-    .use_floppy = 1,
-    .use_cdrom = 1,
-    .use_sdcard = 1,
 };
 
 static void r2d_machine_init(void)
diff --git a/hw/shix.c b/hw/shix.c
index 0f2a7c7..dd9ce17 100644
--- a/hw/shix.c
+++ b/hw/shix.c
@@ -93,9 +93,6 @@  static QEMUMachine shix_machine = {
     .name = "shix",
     .desc = "shix card",
     .init = shix_init,
-    .use_floppy = 1,
-    .use_cdrom = 1,
-    .use_sdcard = 1,
     .is_default = 1,
 };