From 0f2e9992304cc1892e8279e4d81e4d2e30f53b13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 13 Dec 2015 01:21:41 +0100 Subject: [PATCH] Do not allow setting dom0 as default netvm Fixes QubesOS/qubes-issues#1379 --- qubesmanager/global_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesmanager/global_settings.py b/qubesmanager/global_settings.py index 1142ef0..1c21661 100644 --- a/qubesmanager/global_settings.py +++ b/qubesmanager/global_settings.py @@ -104,7 +104,7 @@ class GlobalSettingsWindow(Ui_GlobalSettings, QDialog): self.clock_vm_combo.setCurrentIndex(self.clockvm_idx) #default netvm - netvms = [vm for vm in all_vms if vm.is_netvm()] + netvms = [vm for vm in all_vms if vm.is_netvm() and vm.qid != 0] self.netvm_idx = -1 current_netvm = self.qvm_collection.get_default_netvm()