Add pci checks in qemu

This commit is contained in:
SimonFair
2025-05-10 12:12:42 +01:00
parent 3208c8c0f1
commit fd93756a98
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
$docroot ??= ($_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp');
require_once "$docroot/webGui/include/Helpers.php";
require_once "$docroot/plugins/dynamix.vm.manager/include/libvirt_helpers.php";
$pci_device_changes = comparePCIData();
$pcierror = false;

View File

@@ -7,7 +7,7 @@ if [ $DISABLE == "yes" ]
exit 1 ;
fi
PCI="no"
#PCI=$(/usr/local/emhttp/plugins/dynamix.vm.manager/scripts/pcicheck.php "$@");
PCI=$(/usr/local/emhttp/plugins/dynamix.vm.manager/scripts/pcicheck.php "$@");
if [ $PCI == "yes" ]
then
printf '\n%s\n' "Start/autostart is disabled PCI Change detected." >&2 ## Send message to stderr.