core: make sure that dom0.libvirt_domain isn't used
libvirt do not have domain object for dom0, so do not try to access it.
This commit is contained in:
parent
4d5df95ae8
commit
7652137854
@ -57,7 +57,7 @@ class QubesAdminVm(QubesNetVm):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def libvirt_domain(self):
|
def libvirt_domain(self):
|
||||||
return None
|
raise ValueError("Dom0 do not have libvirt object")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def type(self):
|
def type(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user