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

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

Comments

Markus Armbruster - Aug. 15, 2012, 7:17 p.m.
Cc: Max Filippov <jcmvbkbc@gmail.com>

Suppress default floppy, CD-ROM and SD card drives for machines lx60,
lx200, sim.

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

Patch

diff --git a/hw/xtensa_lx60.c b/hw/xtensa_lx60.c
index 7276e08..3653f65 100644
--- a/hw/xtensa_lx60.c
+++ b/hw/xtensa_lx60.c
@@ -303,9 +303,6 @@  static QEMUMachine xtensa_lx60_machine = {
     .desc = "lx60 EVB (" XTENSA_DEFAULT_CPU_MODEL ")",
     .init = xtensa_lx60_init,
     .max_cpus = 4,
-    .use_floppy = 1,
-    .use_cdrom = 1,
-    .use_sdcard = 1,
 };
 
 static QEMUMachine xtensa_lx200_machine = {
@@ -313,9 +310,6 @@  static QEMUMachine xtensa_lx200_machine = {
     .desc = "lx200 EVB (" XTENSA_DEFAULT_CPU_MODEL ")",
     .init = xtensa_lx200_init,
     .max_cpus = 4,
-    .use_floppy = 1,
-    .use_cdrom = 1,
-    .use_sdcard = 1,
 };
 
 static void xtensa_lx_machines_init(void)
diff --git a/hw/xtensa_sim.c b/hw/xtensa_sim.c
index 1b14d1f..831460b 100644
--- a/hw/xtensa_sim.c
+++ b/hw/xtensa_sim.c
@@ -114,9 +114,6 @@  static QEMUMachine xtensa_sim_machine = {
     .is_default = true,
     .init = xtensa_sim_init,
     .max_cpus = 4,
-    .use_floppy = 1,
-    .use_cdrom = 1,
-    .use_sdcard = 1,
 };
 
 static void xtensa_sim_machine_init(void)