From 11fac7be569042a3bfdc22a7b8e9141312190396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 17 Jul 2017 12:29:25 +0200 Subject: [PATCH] vm/qubesvm: minor fix --- qubes/vm/qubesvm.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/qubes/vm/qubesvm.py b/qubes/vm/qubesvm.py index 7847b39a..9828ad04 100644 --- a/qubes/vm/qubesvm.py +++ b/qubes/vm/qubesvm.py @@ -678,15 +678,11 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM): if self.maxmem > self.memory * 10: self.maxmem = self.memory * 10 - # By default allow use all VCPUs -# if not hasattr(self, 'vcpus') and not self.app.vmm.offline_mode: -# self.vcpus = self.app.host.no_cpus - if xml is None: # new qube, disable updates check if requested for new qubes # SEE: 1637 when features are done, migrate to plugin if not self.app.check_updates_vm: - self.features['check-updates'] = None + self.features['check-updates'] = False # will be initialized after loading all the properties