Commit 714e7fbb authored by Tsachy Shacham's avatar Tsachy Shacham Committed by Iustin Pop
Browse files

hv_kvm: fix hardcoded KVM command string


Signed-off-by: default avatarTsachy Shacham <tsachy@google.com>
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent b693125f
......@@ -1651,7 +1651,7 @@ class KVMHypervisor(hv_base.BaseHypervisor):
time.sleep(self._MIGRATION_INFO_RETRY_DELAY)
elif status == "failed" or status == "cancelled":
if not live:
self._CallMonitorCommand(instance_name, 'cont')
self._CallMonitorCommand(instance_name, self._CONT_CMD)
raise errors.HypervisorError("Migration %s at the kvm level" %
status)
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment