Menu="OtherSettings" Title="VM Manager" Icon="dynamix.vm.manager.png" --- if ($var['fsState'] != "Started") { echo "
Array must be Started to manage Virtual Machines.
"; return; } require_once('/usr/local/emhttp/plugins/dynamix.vm.manager/classes/libvirt.php'); require_once('/usr/local/emhttp/plugins/dynamix.vm.manager/classes/libvirt_helpers.php'); // Check for Intel VT-x (vmx) or AMD-V (svm) cpu virtualzation support // Attempt to load either of the kvm modules to see if virtualzation hw is supported exec('modprobe -a kvm_intel kvm_amd 2>/dev/null'); // If either kvm_intel or kvm_amd are loaded then Intel VT-x (vmx) or AMD-V (svm) cpu virtualzation support was found $strLoadedModules = shell_exec("lsmod | grep '^kvm_\(amd\|intel\)'"); if (empty($strLoadedModules)) { ?>Your hardware does not have Intel VT-x or AMD-V capability. This is required to create VMs in KVM. Click here to see the unRAID Wiki for more information
You must reboot for changes to take effect
view libvirt log > View the log for libvirt: /var/log/libvirt/libvirtd.log