Patchwork [05/23] omap_sx1: Suppress unused default drives

login
register
mail settings
Submitter Markus Armbruster
Date Aug. 9, 2012, 1:31 p.m.
Message ID <1344519084-21847-6-git-send-email-armbru@redhat.com>
Download mbox | patch
Permalink /patch/176129/
State New
Headers show

Comments

Markus Armbruster - Aug. 9, 2012, 1:31 p.m.
Cc: Peter Maydell <peter.maydell@linaro.org>

Suppress default floppy and CD-ROM drives for machines sx1, sx1-v1.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 hw/omap_sx1.c | 4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/hw/omap_sx1.c b/hw/omap_sx1.c
index abca341..3ca716e 100644
--- a/hw/omap_sx1.c
+++ b/hw/omap_sx1.c
@@ -231,12 +231,16 @@  static QEMUMachine sx1_machine_v2 = {
     .name = "sx1",
     .desc = "Siemens SX1 (OMAP310) V2",
     .init = sx1_init_v2,
+    .no_floppy = 1,
+    .no_cdrom = 1,
 };
 
 static QEMUMachine sx1_machine_v1 = {
     .name = "sx1-v1",
     .desc = "Siemens SX1 (OMAP310) V1",
     .init = sx1_init_v1,
+    .no_floppy = 1,
+    .no_cdrom = 1,
 };
 
 static void sx1_machine_init(void)