mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-03-10 12:58:25 +03: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';
|
||||
$vga = 'none';
|
||||
$nohyperv = 1;
|
||||
if ($conf->{bios} && $conf->{bios} eq 'ovmf') {
|
||||
$xvga = "";
|
||||
}
|
||||
}
|
||||
my $pcidevices = $d->{pciid};
|
||||
my $multifunction = 1 if @$pcidevices > 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user