From a387393b4392fe1fcb82420f8788f356120910d6 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Fri, 2 Mar 2012 02:27:13 +0100 Subject: [PATCH] dom0/core: provide vif name also for paused HVMs --- dom0/qvm-core/qubes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index e03ddaea..5ee8b430 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -2148,7 +2148,7 @@ class QubesHVm(QubesVm): @property def vif(self): - if not self.is_running(): + if self.xid < 0: return None if self.netvm_vm is None: return None