dom0/core: provide vif name also for paused VMs
This commit is contained in:
parent
f06d309a69
commit
f31422cbb3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user