From patchwork Thu Dec 17 12:06:08 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/3] add default virtcon initialization Date: Thu, 17 Dec 2009 02:06:08 -0000 From: Alexander Graf X-Patchwork-Id: 41308 Message-Id: <1261051569-7503-3-git-send-email-agraf@suse.de> To: qemu-devel@nongnu.org Cc: aurelien@aurel32.net 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 --- vl.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/vl.c b/vl.c index c0d98f5..4973512 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;