diff options
author | Alexander Graf <agraf@suse.de> | 2009-12-17 13:06:08 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-12-18 16:34:24 +0100 |
commit | 38536da1e3cfde355169a81a3abe3235fd13fc6a (patch) | |
tree | 86fecf6ae767b6599a2ff3188cefa5a9522f0ee1 /vl.c | |
parent | a1e4b07f04d8f31e8c0c1bf97385f426d3fcf5e6 (diff) | |
download | qemu-38536da1e3cfde355169a81a3abe3235fd13fc6a.zip qemu-38536da1e3cfde355169a81a3abe3235fd13fc6a.tar.gz qemu-38536da1e3cfde355169a81a3abe3235fd13fc6a.tar.bz2 |
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>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |