core-admin/qubes
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
..
api api/admin: add admin.vm.CreateDisposable in place of internal.vm.Create.DispVM 2017-08-06 20:54:10 +02:00
ext block: add support for devtype option 2017-08-01 15:20:36 +02:00
qmemman qmemman: don't load qubes.xml 2017-07-26 03:26:58 +02:00
storage storage/lvm: fix Volume() instance init when physical volume is unavailable 2017-08-12 22:44:03 +02:00
tests api/admin: add admin.vm.CreateDisposable in place of internal.vm.Create.DispVM 2017-08-06 20:54:10 +02:00
tools tools/qubesd: increase loglevel with --debug option 2017-07-20 12:19:01 +02:00
vm vm/adminvm: add default_dispvm property to AdminVM 2017-08-06 20:54:10 +02:00
__init__.py Merge remote-tracking branch 'origin/policy-adminvm' 2017-07-04 15:51:30 +02:00
app.py app: fix LVM default storage pool 2017-07-30 14:57:26 +02:00
backup.py backup: update last backup timestamp only when backup succeed 2017-07-29 04:47:44 +02:00
config.py api/admin: plug backup into Admin API 2017-07-20 12:19:01 +02:00
core2migration.py Change vm.hvm into vm.virt_mode 2017-07-17 12:26:10 +02:00
devices.py devices: always pass persistent parameter to device-list-attached event 2017-08-01 15:20:19 +02:00
dochelpers.py Fix docstrings formatting 2017-07-04 04:27:36 +02:00
events.py events: add support for async event handlers 2017-07-04 13:04:22 +02:00
exc.py admin: implement admin.vm.tag.* 2017-06-20 00:54:16 +02:00
firewall.py firewall: fix Firewall.clone() 2017-08-06 20:54:10 +02:00
log.py qubes: port core to python3 2017-01-20 16:42:51 +01:00
rngdoc.py Make pylint happy 2017-04-21 16:57:35 +02:00
tarwriter.py tarwriter: use new PAX format, instead of old GNU for sparse files 2017-07-21 03:14:06 +02:00
utils.py api/admin: plug backup into Admin API 2017-07-20 12:19:01 +02:00