core-admin/qubes
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
..
api api/admin: split vm.volume.Clone to CloneFrom and CloneTo 2017-06-26 13:27:48 +02:00
ext ext/admin: add explanation to PermissionDenied 2017-06-22 13:21:37 +02:00
qmemman qmemman: fix units on meminfo parsing 2017-06-21 06:34:00 +02:00
storage storage: volume.import_volume now expect create()d volume 2017-06-26 13:09:26 +02:00
tests api/admin: split vm.volume.Clone to CloneFrom and CloneTo 2017-06-26 13:27:48 +02:00
tools Merge branch 'core3-qmemman-fix' 2017-06-22 23:16:35 +02:00
vm Merge branch 'core3-devel-20170619' 2017-06-23 02:53:17 +02:00
__init__.py property: add property.__str__ 2017-05-19 18:49:21 +02:00
app.py app: fix registering libvirt event handler 2017-06-20 12:47:00 +02:00
backup.py backup: add a little more usage info, include docs in main index 2017-04-21 19:58:32 +02:00
config.py vm: make vm.hvm=True by default 2017-06-05 23:38:30 +02:00
core2migration.py Make pylint ♥ 2017-04-15 23:50:11 +02:00
devices.py Merge remote-tracking branch 'qubesos/pr/111' 2017-06-12 23:22:55 +02:00
dochelpers.py Add documentation for mgmt 2017-03-13 21:51:52 +01:00
events.py events: add support for per-instance handlers 2017-05-12 14:25:32 +02:00
exc.py admin: implement admin.vm.tag.* 2017-06-20 00:54:16 +02:00
firewall.py firewall: add clone and comparing methods, missing docstrings 2017-05-16 09:05:00 +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 Make pylint happy 2017-04-21 16:57:35 +02:00
utils.py Make pylint happy 2017-04-21 16:57:35 +02:00