From eb97c5652f371914e281618cb24b54a4841fcefe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20=C5=A0est=C3=A1k?= Date: Tue, 24 Nov 2015 18:42:53 +0100 Subject: [PATCH] libvirtError in _update_libvirt_domain is no longer silently swallowed. I had some issue with fstrim and the missing else had caused the code to continue and fail later with a non-descriptive error message. This commit makes the error message more descriptive and helpful. --- core-modules/000QubesVm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core-modules/000QubesVm.py b/core-modules/000QubesVm.py index f8fdd76c..f7411a97 100644 --- a/core-modules/000QubesVm.py +++ b/core-modules/000QubesVm.py @@ -732,6 +732,8 @@ class QubesVm(object): raise QubesException("HVM domains not supported on this " "machine. Check BIOS settings for " "VT-x/AMD-V extensions.") + else: + raise e self.uuid = uuid.UUID(bytes=self._libvirt_domain.UUID()) @property