core-admin/qubes/storage
Marek Marczykowski-Górecki d9d55b0586
storage: pass a copy of volume_config to pool.init_volume
Avoid local modification in a pool's init_volume influence
vm.volume_config. Currently every pool driver replaces
volume_config['pool'] with a pool object (instead of name) and it leads
to confusing cases where depending on start stage, it is sometimes an
object and sometimes a string.
Additionally, some pool drivers may modify volume_config in unexpected
way - for example test pool driver removes 'pool' entry entirely. Avoid
this fragile interface by giving pool driver a copy of volume_config,
instead of vm.volume_config directly.

Note one side effect is that 'vid' (and other pool-specific parameters)
is not set into vm.volume_config directly after creating a VM, but
possibly only after loading from XML. This should not be an issue in
theory (no core code should expect it), but if some place use
volume_config instead of Volume instance for getting pool-specific
options, it should be fixed.
2020-07-08 06:05:01 +02:00
..
__init__.py storage: pass a copy of volume_config to pool.init_volume 2020-07-08 06:05:01 +02:00
file.py storage: clean up __init__() of Pool() and subclasses 2020-06-22 14:03:21 +00:00
kernels.py storage: clean up __init__() of Pool() and subclasses 2020-06-22 14:03:21 +00:00
lvm.py storage: move @locked from lvm to Volume base class 2020-07-07 15:39:08 +00:00
README.md Merge remote-tracking branch 'marmarek/master' into core3-devel 2016-03-03 01:13:51 +01:00
reflink.py storage/reflink: clarify comment 2020-07-07 16:25:48 +00:00

WNI File storage

Before v3.1 there existed a draft wni storage. You can find it in the git history

(it was in /core/storage directory, now gone)