From f71b63de053297ce2b1962d5568d64f505608b7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?= Date: Mon, 11 Nov 2019 11:17:11 +0100 Subject: [PATCH] utils: handle default_guivm and guivm properties --- qubesadmin/utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qubesadmin/utils.py b/qubesadmin/utils.py index d667419..b2ba214 100644 --- a/qubesadmin/utils.py +++ b/qubesadmin/utils.py @@ -125,7 +125,7 @@ def vm_dependencies(app, reference_vm): result = [] - global_properties = ['default_dispvm', 'default_netvm', + global_properties = ['default_dispvm', 'default_netvm', 'default_guivm', 'default_template', 'clockvm', 'updatevm', 'management_dispvm'] @@ -133,7 +133,8 @@ def vm_dependencies(app, reference_vm): if reference_vm == getattr(app, prop, None): result.append((None, prop)) - vm_properties = ['template', 'netvm', 'default_dispvm', 'management_dispvm'] + vm_properties = ['template', 'netvm', 'guivm', + 'default_dispvm', 'management_dispvm'] for vm in app.domains: if vm == reference_vm: