qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 13/23] lm32: Suppress unused default drives


From: Markus Armbruster
Subject: [Qemu-devel] [PATCH 13/23] lm32: Suppress unused default drives
Date: Thu, 9 Aug 2012 15:31:14 +0200

Cc: Michael Walle <address@hidden>

Suppress default floppy and CD-ROM drives for machines lm32-evr,
lm32-uclinux, milkymist.

Suppress default SD card drive for machines lm32-evr, lm32-uclinux.

Signed-off-by: Markus Armbruster <address@hidden>
---
 hw/lm32_boards.c | 6 ++++++
 hw/milkymist.c   | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/hw/lm32_boards.c b/hw/lm32_boards.c
index b76d800..973f89e 100644
--- a/hw/lm32_boards.c
+++ b/hw/lm32_boards.c
@@ -290,6 +290,9 @@ static QEMUMachine lm32_evr_machine = {
     .name = "lm32-evr",
     .desc = "LatticeMico32 EVR32 eval system",
     .init = lm32_evr_init,
+    .no_floppy = 1,
+    .no_cdrom = 1,
+    .no_sdcard = 1,
     .is_default = 1
 };
 
@@ -297,6 +300,9 @@ static QEMUMachine lm32_uclinux_machine = {
     .name = "lm32-uclinux",
     .desc = "lm32 platform for uClinux and u-boot by Theobroma Systems",
     .init = lm32_uclinux_init,
+    .no_floppy = 1,
+    .no_cdrom = 1,
+    .no_sdcard = 1,
     .is_default = 0
 };
 
diff --git a/hw/milkymist.c b/hw/milkymist.c
index 2e7235b..d58afe4 100644
--- a/hw/milkymist.c
+++ b/hw/milkymist.c
@@ -207,6 +207,8 @@ static QEMUMachine milkymist_machine = {
     .name = "milkymist",
     .desc = "Milkymist One",
     .init = milkymist_init,
+    .no_floppy = 1,
+    .no_cdrom = 1,
     .is_default = 0
 };
 
-- 
1.7.11.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]