aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2009-12-17 13:06:08 +0100
committerAurelien Jarno <aurelien@aurel32.net>2009-12-18 16:36:39 +0100
commitf6d4446ea8bb8bf1dc5b8df757c20e713f6eb06f (patch)
tree46327c5acc9b8447953b48c25dbf6866ed57bb21 /vl.c
parentS390: Loop through virtio console devices (diff)
downloadqemu-kvm-f6d4446ea8bb8bf1dc5b8df757c20e713f6eb06f.tar.gz
qemu-kvm-f6d4446ea8bb8bf1dc5b8df757c20e713f6eb06f.tar.bz2
qemu-kvm-f6d4446ea8bb8bf1dc5b8df757c20e713f6eb06f.zip
add default virtcon initialization
When going through the default devices, we don't initialize the virtio console, unless we're doing -nographic. I suppose that's just a leftover from the recent code restructuring, so let's put it in. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> (cherry picked from commit 38536da1e3cfde355169a81a3abe3235fd13fc6a)
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index c0d98f56d..49735129f 100644
--- a/vl.c
+++ b/vl.c
@@ -5712,6 +5712,8 @@ int main(int argc, char **argv, char **envp)
add_device_config(DEV_PARALLEL, "vc:80Cx24C");
if (default_monitor)
monitor_parse("vc:80Cx24C", "readline");
+ if (default_virtcon)
+ add_device_config(DEV_VIRTCON, "vc:80Cx24C");
}
if (default_vga)
vga_interface_type = VGA_CIRRUS;