From 236a2f1355ca83bb0e8bf84a938b8be1093efc2f Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Sun, 24 Aug 2014 13:34:06 +0200 Subject: [PATCH] feature #1639: Fix compilation issues --- src/lcm/LifeCycleActions.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/lcm/LifeCycleActions.cc b/src/lcm/LifeCycleActions.cc index 0b692debfe..55ec3fc06a 100644 --- a/src/lcm/LifeCycleActions.cc +++ b/src/lcm/LifeCycleActions.cc @@ -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 {