From 38536da1e3cfde355169a81a3abe3235fd13fc6a Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 17 Dec 2009 13:06:08 +0100 Subject: [PATCH] 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 Signed-off-by: Aurelien Jarno --- vl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vl.c b/vl.c index c0d98f56d4..49735129f2 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; -- 2.11.4.GIT