qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 6/7] [s390] remove default cdrom, sd-card and floppy


From: Christian Borntraeger
Subject: [Qemu-devel] [PATCH 6/7] [s390] remove default cdrom, sd-card and floppy support
Date: Mon, 23 Apr 2012 11:52:24 +0200

From: Einar Lueck <address@hidden>

This patch simply disables CDROM, SD card and floppy support for the
s390 virtio machine. Without this patch, a default CDROM drive would
get added which has currently no backing on s390.

Signed-off-by: Einar Lueck <address@hidden>
Signed-off-by: Christian Borntraeger <address@hidden>
---
 hw/s390-virtio.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/hw/s390-virtio.c b/hw/s390-virtio.c
index d17602f..d7dc857 100644
--- a/hw/s390-virtio.c
+++ b/hw/s390-virtio.c
@@ -331,8 +331,11 @@ static QEMUMachine s390_machine = {
     .alias = "s390",
     .desc = "VirtIO based S390 machine",
     .init = s390_init,
+    .no_cdrom = 1,
+    .no_floppy = 1,
     .no_serial = 1,
     .no_parallel = 1,
+    .no_sdcard = 1,
     .use_virtcon = 1,
     .max_cpus = 255,
     .is_default = 1,
-- 
1.7.9.6




reply via email to

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