qubes/app: fix notifying about default_netvm change

Notify every VM that is affected, not only those providing network
itself.
This commit is contained in:
Marek Marczykowski-Górecki 2017-03-15 18:35:15 +01:00
parent 2c4303efc4
commit 32f6bc2cd9
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -1087,7 +1087,7 @@ class Qubes(qubes.PropertyHolder):
oldvalue=None):
# pylint: disable=unused-argument
for vm in self.domains:
if vm.provides_network and vm.property_is_default('netvm'):
if vm.property_is_default('netvm'):
# fire property-del:netvm as it is responsible for resetting
# netvm to it's default value
vm.fire_event('property-del:netvm',