From 1180f1a2492bbb95a27ebafc1c58c3ccf10e52b3 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Mon, 11 Jun 2018 03:11:43 -0400 Subject: [PATCH] More debug --- VMInstance.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/VMInstance.py b/VMInstance.py index a7d4376f..989a0398 100644 --- a/VMInstance.py +++ b/VMInstance.py @@ -187,6 +187,7 @@ class VMInstance: ansiiprint.echo('Migrating VM to hypervisor "{}"'.format(self.hypervisor), '{}:'.format(self.domuuid), 'i') migrate_ret = self.live_migrate_vm(self.hypervisor) + print(migrate_ret) if migrate_ret != 0: ansiiprint.echo('Could not live migrate VM; shutting down to migrate instead', '{}:'.format(self.domuuid), 'e') self.shutdown_vm() @@ -206,6 +207,7 @@ class VMInstance: self.inreceive = True while True: self.dom = self.lookupByUUID(self.domuuid) + print(self.state) if self.dom == None and self.state == 'migrate': time.sleep(0.2) continue