From 429c685f1d511845796fd6377f4cb9b5904ccb82 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Tue, 7 Jun 2011 12:19:17 +0200 Subject: [PATCH] dom0: write firewall rules only for running proxyvms --- dom0/qvm-core/qubes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index b079e681..0912f4a1 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -929,7 +929,7 @@ class QubesVm(object): if verbose: print "--> Updating firewall rules..." for vm in qvm_collection.values(): - if vm.is_proxyvm(): + if vm.is_proxyvm() and vm.is_running(): vm.write_iptables_xenstore_entry() if verbose: