From 99c0356bf25a5112c0d9692a6a61c5e032d2ac3a Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 17 Oct 2011 23:20:21 +0200 Subject: [PATCH] dom0: set first NetVM as ClockVM --- dom0/qvm-core/qubes.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index 9c86418c..950b124e 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -1925,6 +1925,10 @@ class QubesVmCollection(dict): if self.default_fw_netvm_qid is None: self.set_default_fw_netvm_vm(vm) + # by default ClockVM is the first NetVM + if self.clockvm_qid is None: + self.set_clockvm_vm(vm) + return vm def add_new_proxyvm(self, name, template_vm,