dom0/core: provide vif name also for paused HVMs

This commit is contained in:
Marek Marczykowski 2012-03-02 02:27:13 +01:00
parent f31422cbb3
commit a387393b43

View File

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