]> git.proxmox.com Git - qemu.git/commitdiff
sclpconsole: Don't instantiate sclpconsole with -nodefaults
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 25 Jan 2013 06:00:19 +0000 (06:00 +0000)
committerAlexander Graf <agraf@suse.de>
Tue, 29 Jan 2013 20:50:05 +0000 (21:50 +0100)
libvirt specifies nodefaults and creates an sclp console with special
parameters. Let qemu follow nodefaults and don't create an sclp
console if nodefaults is specified.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
vl.c

diff --git a/vl.c b/vl.c
index 8b0961ef0142d2779df33f9ef6c81e118ad4db4d..910abb6526ad536de34dec764cbeb56f543b7467 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -3652,6 +3652,7 @@ int main(int argc, char **argv, char **envp)
                 default_serial = 0;
                 default_parallel = 0;
                 default_virtcon = 0;
+                default_sclp = 0;
                 default_monitor = 0;
                 default_net = 0;
                 default_floppy = 0;