From cdd031cea5c3bb75c011e24b5ef7d12b62bad5cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 17 Dec 2013 23:59:05 +0100 Subject: [PATCH] hvm: fix return value of vm.start() --- core-modules/01QubesHVm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-modules/01QubesHVm.py b/core-modules/01QubesHVm.py index 586c89c6..b2e00ff4 100644 --- a/core-modules/01QubesHVm.py +++ b/core-modules/01QubesHVm.py @@ -356,7 +356,7 @@ class QubesHVm(QubesVm): if self.template and self.template.is_running(): raise QubesException("Cannot start the HVM while its template is running") try: - super(QubesHVm, self).start(*args, **kwargs) + return super(QubesHVm, self).start(*args, **kwargs) except QubesException as e: if xc.physinfo()['virt_caps'].count('hvm') == 0: raise QubesException("Cannot start HVM without VT-x/AMD-v enabled")