mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-29 21:12:07 -06:00
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>
This commit is contained in:
parent
a1e4b07f04
commit
38536da1e3
1 changed files with 2 additions and 0 deletions
2
vl.c
2
vl.c
|
@ -5712,6 +5712,8 @@ int main(int argc, char **argv, char **envp)
|
||||||
add_device_config(DEV_PARALLEL, "vc:80Cx24C");
|
add_device_config(DEV_PARALLEL, "vc:80Cx24C");
|
||||||
if (default_monitor)
|
if (default_monitor)
|
||||||
monitor_parse("vc:80Cx24C", "readline");
|
monitor_parse("vc:80Cx24C", "readline");
|
||||||
|
if (default_virtcon)
|
||||||
|
add_device_config(DEV_VIRTCON, "vc:80Cx24C");
|
||||||
}
|
}
|
||||||
if (default_vga)
|
if (default_vga)
|
||||||
vga_interface_type = VGA_CIRRUS;
|
vga_interface_type = VGA_CIRRUS;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue