From patchwork Thu Aug 9 13:31:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [13/23] lm32: Suppress unused default drives Date: Thu, 09 Aug 2012 03:31:14 -0000 From: Markus Armbruster X-Patchwork-Id: 176115 Message-Id: <1344519084-21847-14-git-send-email-armbru@redhat.com> To: qemu-devel@nongnu.org Cc: Michael Walle Cc: Michael Walle 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 Acked-by: Michael Walle --- 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 };