mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-05 12:33:43 +00:00
allow explicit set vga with gpu passthrough
this patch allows the user to explicitely set a virtual vga, even when using the 'x-vga' flag, this is sometimes necessary, as some users need the 'x-vga' flag on the pci device, but still want to use a virtual vga Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
f1e277cd88
commit
bfc0bb8179
@ -3553,7 +3553,7 @@ sub config_to_command {
|
||||
if ($d->{'x-vga'}) {
|
||||
$xvga = ',x-vga=on';
|
||||
$kvm_off = 1;
|
||||
$vga->{type} = 'none';
|
||||
$vga->{type} = 'none' if !defined($conf->{vga});
|
||||
$gpu_passthrough = 1;
|
||||
|
||||
if ($conf->{bios} && $conf->{bios} eq 'ovmf') {
|
||||
|
Loading…
Reference in New Issue
Block a user