From f9e2bbdf1182f54d69f6005eb7c39007eddbd3cd Mon Sep 17 00:00:00 2001 From: Trey Morris Date: Tue, 21 Dec 2010 20:06:53 +0000 Subject: correct xenapi resume call --- nova/virt/xenapi/vmops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py index eb6743a7a..3ec131600 100644 --- a/nova/virt/xenapi/vmops.py +++ b/nova/virt/xenapi/vmops.py @@ -159,7 +159,7 @@ class VMOps(object): vm = VMHelper.lookup(self._session, instance_name) if vm is None: raise Exception("resume: instance not present %s" % instance_name) - task = self._session.call_xenapi('Async.VM.resume', vm) + task = self._session.call_xenapi('Async.VM.resume', vm, False, True) self._wait_with_callback(task, callback) def get_info(self, instance_id): -- cgit