Forráskód Böngészése

Allow setting global default_dispvm to None

There is no technical need for having this set to anything. If set to
None, DispVM startup requests will be refused.
Marek Marczykowski-Górecki 6 éve
szülő
commit
df32acfad9
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      qubes/app.py

+ 1 - 1
qubes/app.py

@@ -674,7 +674,7 @@ class Qubes(qubes.PropertyHolder):
     default_kernel = qubes.property('default_kernel', load_stage=3,
         doc='Which kernel to use when not overriden in VM')
     default_dispvm = qubes.VMProperty('default_dispvm', load_stage=3,
-        doc='Default DispVM base for service calls')
+        doc='Default DispVM base for service calls', allow_none=True)
 
     default_pool = qubes.property('default_pool', load_stage=3,
         default=_default_pool,