From f31422cbb39dca9caab057fb21eee03c28255fb9 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Fri, 2 Mar 2012 02:26:37 +0100 Subject: [PATCH] dom0/core: provide vif name also for paused VMs --- 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 cc9c3052..e03ddaea 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -390,7 +390,7 @@ class QubesVm(object): @property def vif(self): - if not self.is_running(): + if self.xid < 0: return None if self.netvm_vm is None: return None