diff mbox

[05/23] omap_sx1: Suppress unused default drives

Message ID 1344519084-21847-6-git-send-email-armbru@redhat.com
State New
Headers show

Commit Message

Markus Armbruster Aug. 9, 2012, 1:31 p.m. UTC
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(+)
diff mbox

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)