dom0/core: provide vif name also for paused VMs

This commit is contained in:
Marek Marczykowski 2012-03-02 02:26:37 +01:00
parent 997fec6fd6
commit 287e9f72fe

View File

@ -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