dom0/core: fix qubes.xml load code (clockvm setting)

This commit is contained in:
Marek Marczykowski 2013-01-23 02:04:34 +01:00
parent 82f3092803
commit f3aab44798

View File

@ -3026,7 +3026,7 @@ class QubesVmCollection(dict):
# if there was no clockvm entry in qubes.xml, try to determine default:
# root of default NetVM chain
if element.get("clockvm") is None:
if tree.getroot().get("clockvm") is None:
if self.default_netvm_qid is not None:
clockvm = self[self.default_netvm_qid]
# Find root of netvm chain