mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
libxl: vga.kind none when no device specified
When no video device is specified in config we should set both hvm.nographic to 1 and hvm.vga.kind to NONE. Without hvm.vga.kind=LIBXL_VGA_INTERFACE_TYPE_NONE both -nographic and -device 'cirrus-vga' are on qemu cmdline. Signed-off-by: Artur Puzio <contact@puzio.waw.pl> Reviewed-by: Jim Fehlig <jfehlig@suse.com>
This commit is contained in:
parent
2e93af279a
commit
a13b2905f7
@ -2404,6 +2404,7 @@ libxlMakeVideo(virDomainDefPtr def, libxl_domain_config *d_config)
|
||||
b_info->video_memkb = def->videos[0]->vram;
|
||||
} else {
|
||||
libxl_defbool_set(&b_info->u.hvm.nographic, 1);
|
||||
b_info->u.hvm.vga.kind = LIBXL_VGA_INTERFACE_TYPE_NONE;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -20,6 +20,9 @@
|
||||
"acpi": "True",
|
||||
"acpi_firmware": "/path/to/slic.dat",
|
||||
"nographic": "True",
|
||||
"vga": {
|
||||
"kind": "none"
|
||||
},
|
||||
"vnc": {
|
||||
"enable": "False"
|
||||
},
|
||||
|
@ -27,6 +27,9 @@
|
||||
"apic": "True",
|
||||
"acpi": "True",
|
||||
"nographic": "True",
|
||||
"vga": {
|
||||
"kind": "none"
|
||||
},
|
||||
"vnc": {
|
||||
"enable": "False"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user