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.
This commit is contained in:
parent
520b546d75
commit
eb97c5652f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user