Go to file
Marek Marczykowski-Górecki 3cacf290bb
admin: implement admin.vm.volume.Import
Implement this in two parts:
1. Permissions checks, getting a path from appropriate storage pool
2. Actual data import

The first part is done by qubesd in a standard way, but then, instead of
accepting all the data (which may be several GB), return a path to which
a shell script (in practice: `dd` command) will write the data.
Then the script call back to qubesd again to report success/failure and
qubesd response from that call is actually returned to the user.

This way we do not pass all the data through qubesd, but still can
control the process from there in a meaningful way. Note that the last
part (second call to qubesd) may perform all kind of verification (like
a signature check on the data, or so) and can also prevent VM from
starting (hooking also domain-pre-start event) from not verified image.

QubesOS/qubes-issues#2622
2017-05-26 15:08:14 +02:00
ci
contrib
doc devices: adjust XML serialization of device options 2017-05-22 17:11:20 +02:00
etc
linux systemd: prevent killing VM-daemons on service restart/stop 2017-05-18 11:11:18 +02:00
qubes admin: implement admin.vm.volume.Import 2017-05-26 15:08:14 +02:00
qubes-rpc admin: implement admin.vm.volume.Import 2017-05-26 15:08:14 +02:00
qubes-rpc-policy admin-api: create and install actual Admin API RPC endpoints 2017-05-23 03:24:15 +02:00
qubespolicy
qvm-tools
relaxng devices: adjust XML serialization of device options 2017-05-22 17:11:20 +02:00
rpm_spec admin-api: create and install actual Admin API RPC endpoints 2017-05-23 03:24:15 +02:00
templates pci: use device attach options for disabling strict reset 2017-05-22 03:21:13 +02:00
test-packages
tests
.coveragerc
.gitignore
.pylintrc
.travis.yml
installer.wxs
LICENSE
Makefile admin: implement admin.vm.volume.Import 2017-05-26 15:08:14 +02:00
Makefile.builder
README.md README: add travis button 2016-06-16 17:39:38 +02:00
run-tests
setup.cfg
setup.py
version

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/.