Cc: Max Filippov <jcmvb...@gmail.com>

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

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

diff --git a/hw/xtensa_lx60.c b/hw/xtensa_lx60.c
index c4f616f..f89e255 100644
--- a/hw/xtensa_lx60.c
+++ b/hw/xtensa_lx60.c
@@ -303,6 +303,9 @@ static QEMUMachine xtensa_lx60_machine = {
     .desc = "lx60 EVB (dc232b)",
     .init = xtensa_lx60_init,
     .max_cpus = 4,
+    .no_floppy = 1,
+    .no_cdrom = 1,
+    .no_sdcard = 1,
 };
 
 static QEMUMachine xtensa_lx200_machine = {
@@ -310,6 +313,9 @@ static QEMUMachine xtensa_lx200_machine = {
     .desc = "lx200 EVB (dc232b)",
     .init = xtensa_lx200_init,
     .max_cpus = 4,
+    .no_floppy = 1,
+    .no_cdrom = 1,
+    .no_sdcard = 1,
 };
 
 static void xtensa_lx_machines_init(void)
diff --git a/hw/xtensa_sim.c b/hw/xtensa_sim.c
index 1ce07fb..f1246d6 100644
--- a/hw/xtensa_sim.c
+++ b/hw/xtensa_sim.c
@@ -113,6 +113,9 @@ static QEMUMachine xtensa_sim_machine = {
     .desc = "sim machine (dc232b)",
     .init = xtensa_sim_init,
     .max_cpus = 4,
+    .no_floppy = 1,
+    .no_cdrom = 1,
+    .no_sdcard = 1,
 };
 
 static void xtensa_sim_machine_init(void)
-- 
1.7.11.2


Reply via email to