dom0/core: netvm_vm -> netvm - HVM-specific
This commit is contained in:
parent
63b51e41ce
commit
a5c69af852
@ -2204,7 +2204,7 @@ class QubesHVm(QubesVm):
|
|||||||
def vif(self):
|
def vif(self):
|
||||||
if self.xid < 0:
|
if self.xid < 0:
|
||||||
return None
|
return None
|
||||||
if self.netvm_vm is None:
|
if self.netvm is None:
|
||||||
return None
|
return None
|
||||||
return "vif{0}.+".format(self.stubdom_xid)
|
return "vif{0}.+".format(self.stubdom_xid)
|
||||||
|
|
||||||
@ -2295,7 +2295,7 @@ class QubesVmCollection(dict):
|
|||||||
|
|
||||||
qid = self.get_new_unused_qid()
|
qid = self.get_new_unused_qid()
|
||||||
vm = QubesHVm (qid=qid, name=name,
|
vm = QubesHVm (qid=qid, name=name,
|
||||||
netvm_vm = self.get_default_netvm_vm(),
|
netvm = self.get_default_netvm(),
|
||||||
kernel = self.get_default_kernel(),
|
kernel = self.get_default_kernel(),
|
||||||
uses_default_kernel = True,
|
uses_default_kernel = True,
|
||||||
label=label)
|
label=label)
|
||||||
|
Loading…
Reference in New Issue
Block a user