dom0/core: provide vif name also for paused HVMs
This commit is contained in:
parent
f31422cbb3
commit
a387393b43
@ -2148,7 +2148,7 @@ class QubesHVm(QubesVm):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def vif(self):
|
def vif(self):
|
||||||
if not self.is_running():
|
if self.xid < 0:
|
||||||
return None
|
return None
|
||||||
if self.netvm_vm is None:
|
if self.netvm_vm is None:
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user