core-admin/qubes/storage
Marek Marczykowski-Górecki 6e5fe58128
storage/lvm: fix Volume() instance init when physical volume is unavailable
First, cache objects created with init_volume - this is the only place
where we have full volume configuration (including snap_on_start and
save_on_stop properties).
But also implement get_volume method, to get a volume instance for given
volume id. Such volume instance may be incomplete (other attributes are
available only in owning domain configuration), but it will be enough
for basic operations - like cheching and changing its size, cloning
etc.
Listing volumes still use list of physically present volumes.

This makes it possible to start qubesd service, without physical
presence of some storage devices. Starting VMs using such storage would
still fail, of course.

Fixes QubesOS/qubes-issues#2960
2017-08-12 22:44:03 +02:00
..
__init__.py storage: fix getting list of pool driver parameters 2017-08-12 22:42:30 +02:00
file.py storage/file: fix disk usage reporting 2017-07-30 18:36:23 +02:00
kernels.py storage/kernels: support only save_on_stop=False volumes 2017-07-04 14:25:08 +02:00
lvm.py storage/lvm: fix Volume() instance init when physical volume is unavailable 2017-08-12 22:44:03 +02:00
README.md Merge remote-tracking branch 'marmarek/master' into core3-devel 2016-03-03 01:13:51 +01: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)