Merge pull request #1520 from SimonFair/Multi-disk-locations

Add SR-IOV support for Intel iGPU.
This commit is contained in:
tom mortensen
2023-11-21 10:52:55 -08:00
committed by GitHub
@@ -872,6 +872,16 @@
if ($gpu_bus == '00' && $gpu_slot == '02') {
$strXVGA = '';
$strSpecialAddress = "<address type='pci' domain='0x0000' bus='0x".$gpu_bus."' slot='0x".$gpu_slot."' function='0x".$gpu_function."'/>";
if ($gpu_function == '00') {
$strSpecialAddress = "<address type='pci' domain='0x0000' bus='0x".$gpu_bus."' slot='0x".$gpu_slot."' function='0x".$gpu_function."'/>";
# Add support for SR-IOV
} else {
if ($machine_type == 'q35'){
$strSpecialAddress = "<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>";
} else {
$strSpecialAddress = "<address type='pci' domain='0x0000' bus='0x06' slot='0x10' function='0x0'/>";
}
}
}
$strRomFile = '';