We moved this page to our Documentation Portal. You can find the latest updates here. |
Issue
VM start fails with this error:
Running: create_domain_xml LibVirt: Call to virDomainCreateXML failed: XML error: invalid maximum number of vCPUs '0'
Environment
OnApp 3.x
KVM Hypervisor
Resolution
Run 'service libvirtd restart' on the hypervisor where the vm failed to start.
If that does not fix the problem, you can also cold migrate the VM to another HV and start it there.
Cause
Libvirt may have started with the incorrect parameters or there may be too many virtual machines currently running on the hypervisor.