diff --git a/core-modules/000QubesVm.py b/core-modules/000QubesVm.py index 6c5ba7f5..8cf8a661 100644 --- a/core-modules/000QubesVm.py +++ b/core-modules/000QubesVm.py @@ -760,6 +760,9 @@ class QubesVm(object): except libvirt.libvirtError as e: if e.get_error_code() == libvirt.VIR_ERR_NO_DOMAIN: return 0 + # libxl_domain_info failed - domain no longer exists + elif e.get_error_code() == libvirt.VIR_INTERNAL_ERROR: + return 0 else: raise @@ -774,6 +777,9 @@ class QubesVm(object): except libvirt.libvirtError as e: if e.get_error_code() == libvirt.VIR_ERR_NO_DOMAIN: return 0 + # libxl_domain_info failed - domain no longer exists + elif e.get_error_code() == libvirt.VIR_INTERNAL_ERROR: + return 0 else: raise