mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-05 14:46:51 +00:00
ovmf : don't pass x-vga to vfio-pci
x-vga vfio-pci flag is to enable seabios quirks only. This patch keep using x-vga=on from proxmox config, to disable hyperv,kvm=off,vga=none by default but don't pass x-vga to vfio-pci when ovmf is enabled. Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
98cbd0f47e
commit
230a438200
@ -2778,6 +2778,9 @@ sub config_to_command {
|
|||||||
push @$cpuFlags, 'kvm=off';
|
push @$cpuFlags, 'kvm=off';
|
||||||
$vga = 'none';
|
$vga = 'none';
|
||||||
$nohyperv = 1;
|
$nohyperv = 1;
|
||||||
|
if ($conf->{bios} && $conf->{bios} eq 'ovmf') {
|
||||||
|
$xvga = "";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
my $pcidevices = $d->{pciid};
|
my $pcidevices = $d->{pciid};
|
||||||
my $multifunction = 1 if @$pcidevices > 1;
|
my $multifunction = 1 if @$pcidevices > 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user