utils: handle default_guivm and guivm properties

This commit is contained in:
Frédéric Pierret (fepitre) 2019-11-11 11:17:11 +01:00
parent 6b5e695f15
commit f71b63de05
No known key found for this signature in database
GPG Key ID: 484010B5CDC576E2

View File

@ -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: