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>
if ($d->{'x-vga'}) {
$xvga = ',x-vga=on';
$kvm_off = 1;
if ($d->{'x-vga'}) {
$xvga = ',x-vga=on';
$kvm_off = 1;
+ $vga->{type} = 'none' if !defined($conf->{vga});
$gpu_passthrough = 1;
if ($conf->{bios} && $conf->{bios} eq 'ovmf') {
$gpu_passthrough = 1;
if ($conf->{bios} && $conf->{bios} eq 'ovmf') {