1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-25 23:21:29 +03:00

Allow vm migration if the VM have PCI devices and is in poff state (#3291)

This commit is contained in:
Christian González 2019-04-29 17:47:58 +02:00 committed by Ruben S. Montero
parent fe39e53054
commit 0d8d34645e

View File

@ -1244,7 +1244,7 @@ void VirtualMachineMigrate::request_execute(xmlrpc_c::paramList const& paramList
vm->get_requirements(cpu, mem, disk, pci);
if ((pci.size() > 0) && !poffmgr)
if ((pci.size() > 0) && (!poffmgr && vm->get_state() != VirtualMachine::POWEROFF))
{
ostringstream oss;