core-admin/qubes/tests
Marek Marczykowski-Górecki 26a9974432
api/admin: split vm.volume.Clone to CloneFrom and CloneTo
The first operation returns a token, which can be passed to the second
one to actually perform clone operation. This way the caller needs have
power over both source and destination VMs (or at least appropriate
volumes), so it's easier to enforce appropriate qrexec policy.

The pending tokens are stored on Qubes() instance (as QubesAdminAPI is
not persistent). It is design choice to keep them in RAM only - those
are one time use and this way restarting qubesd is a simple way to
invalidate all of them. Otherwise we'd need some additional calls like
CloneCancel or such.

QubesOS/qubes-issues#2622
2017-06-26 13:27:48 +02:00
..
integ tests: improve tests for qrexe exit code handling 2017-06-21 05:23:35 +02:00
tools tests: adjust TC_00_QubesDaemonProtocol for reorganized api module 2017-06-21 06:59:58 +02:00
vm vm: improve sending events for tags and features 2017-06-14 10:44:23 +02:00
__init__.py tests: adjust TC_00_QubesDaemonProtocol for reorganized api module 2017-06-21 06:59:58 +02:00
api_admin.py api/admin: split vm.volume.Clone to CloneFrom and CloneTo 2017-06-26 13:27:48 +02:00
api_misc.py qubes.NotifyTools: ignore '/qubes-tools/version' completely 2017-06-14 10:44:24 +02:00
api.py tests: adjust TC_00_QubesDaemonProtocol for reorganized api module 2017-06-21 06:59:58 +02:00
app.py qubes.tests asyncio 2017-05-29 17:34:15 +02:00
devices_block.py ext: BlockDevices extension 2017-06-05 23:33:58 +02:00
devices.py qubes.tests asyncio 2017-05-29 17:34:15 +02:00
events.py events: add support for per-instance handlers 2017-05-12 14:25:32 +02:00
ext.py qubes.NotifyTools: ignore '/qubes-tools/version' completely 2017-06-14 10:44:24 +02:00
extra.py tests: do not reload qubes.xml 2017-06-21 00:17:42 +02:00
firewall.py qubes: port core to python3 2017-01-20 16:42:51 +01:00
init.py Fix miscellaneous warnings 2017-05-29 17:34:15 +02:00
run.py qubes/api: refactor creating multiple qubesd sockets 2017-06-21 00:17:37 +02:00
storage_file.py storage: use direct object references, not only identifiers 2017-06-09 04:55:06 +02:00
storage_kernels.py tests: very basic tests for LinuxKernel pool 2017-05-17 11:17:22 +02:00
storage_lvm.py storage: move remove() to Volume 2017-06-26 13:09:26 +02:00
storage.py mgmt: vm.Create* and vm.Clone 2017-05-12 17:04:18 +02:00
tarwriter.py qubes: port core to python3 2017-01-20 16:42:51 +01:00