From 22dcd3edeb3bfa896a794e660856cb3a9643ac4f Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Thu, 23 Apr 2015 13:23:31 +0200 Subject: [PATCH] feature #3654: Add missing change after merges --- src/lcm/LifeCycleActions.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lcm/LifeCycleActions.cc b/src/lcm/LifeCycleActions.cc index e6c07433ea..20f66c192a 100644 --- a/src/lcm/LifeCycleActions.cc +++ b/src/lcm/LifeCycleActions.cc @@ -188,10 +188,12 @@ void LifeCycleManager::stop_action(int vid) } else if (vm->get_state() == VirtualMachine::SUSPENDED) { + Nebula& nd = Nebula::instance(); + TransferManager * tm = nd.get_tm(); + //---------------------------------------------------- // Bypass SAVE_STOP //---------------------------------------------------- - vm->set_state(VirtualMachine::ACTIVE); vm->set_state(VirtualMachine::EPILOG_STOP); @@ -526,6 +528,9 @@ void LifeCycleManager::undeploy_action(int vid, bool hard) } else if (vm->get_state() == VirtualMachine::POWEROFF) { + Nebula& nd = Nebula::instance(); + TransferManager * tm = nd.get_tm(); + //---------------------------------------------------- // Bypass SHUTDOWN_UNDEPLOY //----------------------------------------------------