dom0/core: fix qubes.xml load code (clockvm setting)
This commit is contained in:
parent
82f3092803
commit
f3aab44798
@ -3026,7 +3026,7 @@ class QubesVmCollection(dict):
|
|||||||
|
|
||||||
# if there was no clockvm entry in qubes.xml, try to determine default:
|
# if there was no clockvm entry in qubes.xml, try to determine default:
|
||||||
# root of default NetVM chain
|
# 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:
|
if self.default_netvm_qid is not None:
|
||||||
clockvm = self[self.default_netvm_qid]
|
clockvm = self[self.default_netvm_qid]
|
||||||
# Find root of netvm chain
|
# Find root of netvm chain
|
||||||
|
Loading…
Reference in New Issue
Block a user