Revision c087266c

b/lib/hypervisor/hv_kvm.py
506 506
          done = True
507 507
        elif status == 'active':
508 508
          time.sleep(2)
509
        elif status == 'failed' or status == 'cancelled':
510
          if not live:
511
            self._CallMonitorCommand(instance_name, 'cont')
512
          raise errors.HypervisorError("Migration %s at the kvm level" %
513
                                       status)
509 514
        else:
510 515
          logging.info("KVM: unknown migration status '%s'" % status)
511 516
          time.sleep(2)

Also available in: Unified diff