mirror of
https://github.com/unraid/webgui.git
synced 2026-04-24 02:58:57 -05:00
Merge pull request #1520 from SimonFair/Multi-disk-locations
Add SR-IOV support for Intel iGPU.
This commit is contained in:
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user