1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00

feature #1639: Fix compilation issues

This commit is contained in:
Ruben S. Montero 2014-08-24 13:34:06 +02:00
parent 027a4ef89c
commit 236a2f1355

View File

@ -274,10 +274,11 @@ void LifeCycleManager::migrate_action(int vid)
// Bypass SAVE_MIGRATE & PROLOG_MIGRATE goto BOOT
//----------------------------------------------------
Nebula& nd = Nebula::instance();
TransferManager * tm = nd.get_tm();
int cpu,mem,disk;
time_t the_time = time(0);
Nebula& nd = Nebula::instance();
VirtualMachineManager * vmm = nd.get_vmm();
int cpu, mem, disk;
time_t the_time = time(0);
vm->set_resched(false);
@ -317,7 +318,7 @@ void LifeCycleManager::migrate_action(int vid)
//----------------------------------------------------
vmm->trigger(VirtualMachine::BOOT, vid);
vmm->trigger(VirtualMachineManager::DEPLOY, vid);
}
else
{