VM Manager: Fix: xvga is supposed to be 'yes' instead of 'on' for seabios primary video card

This commit is contained in:
Eric Schultz
2015-12-08 17:58:15 -06:00
parent fc1ef4d1c9
commit 17e8bfa310
@@ -641,7 +641,7 @@
list($gpu_bus, $gpu_slot, $gpu_function) = explode(":", str_replace('.', ':', $gpu['id']));
$pcidevs .= "<hostdev mode='subsystem' type='pci' managed='yes'".((empty($gpudevs_used) && empty($domain['ovmf'])) ? " xvga='on'" : "").">
$pcidevs .= "<hostdev mode='subsystem' type='pci' managed='yes'".((empty($gpudevs_used) && empty($domain['ovmf'])) ? " xvga='yes'" : "").">
<driver name='vfio'/>
<source>
<address domain='0x0000' bus='0x".$gpu_bus."' slot='0x".$gpu_slot."' function='0x".$gpu_function."'/>