From a5c69af85208be17b282ca03dbdac167a6d177ad Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sun, 4 Mar 2012 22:00:41 +0100 Subject: [PATCH] dom0/core: netvm_vm -> netvm - HVM-specific --- dom0/qvm-core/qubes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index 30ce2021..2ea8c35f 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -2204,7 +2204,7 @@ class QubesHVm(QubesVm): def vif(self): if self.xid < 0: return None - if self.netvm_vm is None: + if self.netvm is None: return None return "vif{0}.+".format(self.stubdom_xid) @@ -2295,7 +2295,7 @@ class QubesVmCollection(dict): qid = self.get_new_unused_qid() vm = QubesHVm (qid=qid, name=name, - netvm_vm = self.get_default_netvm_vm(), + netvm = self.get_default_netvm(), kernel = self.get_default_kernel(), uses_default_kernel = True, label=label)