From 287e9f72fe924573208c6736892eeef60bd45726 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 47b56dca..afe5fb18 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -380,7 +380,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