core-admin/qubes/vm
Marek Marczykowski-Górecki 719eb5c2a2
Fix revisions_to_keep volume property when creating VM in a specific pool
The revisions_to_keep should be inherited from the pool by default (or
whatever else logic is in the storage pool driver). When creating VM in
a specific pool, volumes config is re-initialized to include right
defaults. But the config cleaning logic in `_clean_volume_config()`
failed to remove revisions_to_keep property initialized by the default
pool driver. This prevented new pool driver to apply its own default
logic.

An extreme result was inability to create a VM in 'file' pool at all,
because it refuses any revisions_to_keep > 1, and the default LVM
pool has revisions_to_keep = 2.
2020-05-28 01:45:18 +02:00
..
mix Fire property-reset event when default value might change 2020-05-23 04:50:02 +02:00
__init__.py Prevent removing VM if it provides devices in persistent mode 2020-01-16 11:13:07 +01:00
adminvm.py Remove more core2 code 2020-02-15 17:48:32 +00:00
appvm.py Convert handler to use property-reset instead of property-del 2020-05-23 03:57:42 +02:00
dispvm.py Convert handler to use property-reset instead of property-del 2020-05-23 03:57:42 +02:00
qubesvm.py Fix revisions_to_keep volume property when creating VM in a specific pool 2020-05-28 01:45:18 +02:00
standalonevm.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
templatevm.py Fire property-reset event when default value might change 2020-05-23 04:50:02 +02:00