diff --git a/core-modules/000QubesVm.py b/core-modules/000QubesVm.py index fc15dde6..1996764f 100644 --- a/core-modules/000QubesVm.py +++ b/core-modules/000QubesVm.py @@ -1958,8 +1958,9 @@ class QubesVm(object): try: for pcidev in self.pcidevs: self.libvirt_domain.detachDevice(self._format_pci_dev(pcidev)) - except libvirt.libvirtError: - pass + except libvirt.libvirtError as e: + print >>sys.stderr, "WARNING: {}, continuing VM shutdown " \ + "anyway".format(str(e)) self.libvirt_domain.shutdown()