diff --git a/emhttp/plugins/dynamix.vm.manager/include/libvirt.php b/emhttp/plugins/dynamix.vm.manager/include/libvirt.php index 21db2187c..2bb08fb06 100644 --- a/emhttp/plugins/dynamix.vm.manager/include/libvirt.php +++ b/emhttp/plugins/dynamix.vm.manager/include/libvirt.php @@ -872,6 +872,16 @@ if ($gpu_bus == '00' && $gpu_slot == '02') { $strXVGA = ''; $strSpecialAddress = "
"; + if ($gpu_function == '00') { + $strSpecialAddress = ";"; + # Add support for SR-IOV + } else { + if ($machine_type == 'q35'){ + $strSpecialAddress = ";" + } else { + $strSpecialAddress = ""; + } + } } $strRomFile = '';