Go to file
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
ci api/admin: plug backup into Admin API 2017-07-20 12:19:01 +02:00
contrib events: add support for async event handlers 2017-07-04 13:04:22 +02:00
doc doc: include list of extensions 2017-07-28 16:32:48 +02:00
etc Replace pool config parsing logic 2016-04-25 07:16:37 +02:00
linux Order qubesd.service after lvm2-pvscan@.service 2017-08-12 19:50:50 +02:00
qubes storage/lvm: fix Volume() instance init when physical volume is unavailable 2017-08-12 22:44:03 +02:00
qubes-rpc Add explanation why admin.vm.volume.Import is a custom script 2017-07-25 05:20:38 +02:00
qubes-rpc-policy Add default policy for qubes.VMRootShell service 2017-08-06 20:54:11 +02:00
qubespolicy qubespolicy: implement --just-evaluate and --assume-yes-for-ask options 2017-08-07 02:02:01 +02:00
qvm-tools clock sync: drop untrusted_ prefix after validation, fix error msg 2017-07-12 20:57:52 +02:00
relaxng devices: adjust XML serialization of device options 2017-05-22 17:11:20 +02:00
rpm_spec Order qubesd.service after lvm2-pvscan@.service 2017-08-12 19:50:50 +02:00
templates Fix libvirt xml template 2017-07-17 12:28:56 +02:00
test-packages add mock libvirtaio module + pylint fixes 2017-04-05 17:06:45 +02:00
tests tests: do not reload qubes.xml 2017-06-21 00:17:42 +02:00
.coveragerc add config for coverage.py 2015-10-12 16:40:46 +02:00
.gitignore run-tests: Script for running tests in repo 2016-04-20 13:54:56 +02:00
.pylintrc Remove obsolete options from .pylintrc 2016-07-21 12:21:00 +02:00
.travis.yml travis: flag codecov.io uploads with 'unittests' flag 2017-06-02 12:31:07 +02:00
installer.wxs windows/installer: configurable destination directory 2014-11-19 12:50:31 +01:00
LICENSE Added LICENSE 2010-04-05 21:21:27 +02:00
Makefile Add default policy for qubes.VMRootShell service 2017-08-06 20:54:11 +02:00
Makefile.builder rpm: integrate -doc package into main one 2017-05-12 18:43:35 +02:00
README.md README: add travis button 2016-06-16 17:39:38 +02:00
run-tests tests: rearrage LVM thin tests to run at least some in devel env 2017-05-12 18:10:17 +02:00
setup.cfg Add yapf configuration to setup.cfg 2016-07-21 12:11:34 +02:00
setup.py qubespolicy: add a tool to analyze policy in form of graph 2017-07-04 04:27:36 +02:00
version version 4.0.5 2017-08-10 15:24:20 +02:00

Qubes core, version 3

Build Status

This is development branch of the Qubes OS core. This branch is subject to rebase without warning until further notice.

API documentation is available: https://qubes-core-admin.readthedocs.org/en/latest/.