core-admin-client/qubesadmin/tests/tools
Marek Marczykowski-Górecki bcd026d141
Implement VM clone as create + copy data+metadata
This way we don't need separate admin.vm.Clone call, which is tricky to
handler properly with policy.
A VM may not have access to all the properties and other metadata, so
add ignore_errors argument, for best-effort approach (copy what is
possible). In any case, failure of cloning VM data fails the whole
operation.
When operation fails, VM is removed.

While at it, allow to specify alternative VM class - this allows
morphing one VM into another (for example AppVM -> StandaloneVM).

Adjust qvm-clone tool and tests accordingly.

QubesOS/qubes-issues#2622
2017-06-20 01:34:18 +02:00
..
__init__.py Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
init.py Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
qubes_prefs.py Rename Mgmt API to Admin API: methods names 2017-05-12 19:36:03 +02:00
qvm_check.py Rename Mgmt API to Admin API: methods names 2017-05-12 19:36:03 +02:00
qvm_clone.py Implement VM clone as create + copy data+metadata 2017-06-20 01:34:18 +02:00
qvm_create.py Rename Mgmt API to Admin API: methods names 2017-05-12 19:36:03 +02:00
qvm_device.py Rename Mgmt API to Admin API: methods names 2017-05-12 19:36:03 +02:00
qvm_features.py features: fix serialization 2017-05-18 09:48:18 +02:00
qvm_firewall.py Fix qubesadmin/tests/tools/qvm_firewall.py license header 2017-05-26 00:42:48 +02:00
qvm_kill.py Rename Mgmt API to Admin API: methods names 2017-05-12 19:36:03 +02:00
qvm_ls.py qvm-ls: hide flags (aka status), get more descriptive 2017-06-08 15:03:00 +02:00
qvm_pause.py Rename Mgmt API to Admin API: methods names 2017-05-12 19:36:03 +02:00
qvm_pool.py Rename Mgmt API to Admin API: methods names 2017-05-12 19:36:03 +02:00
qvm_prefs.py Rename Mgmt API to Admin API: methods names 2017-05-12 19:36:03 +02:00
qvm_remove.py Rename Mgmt API to Admin API: methods names 2017-05-12 19:36:03 +02:00
qvm_run.py tools: add qvm-run --service 2017-05-20 03:15:23 +02:00
qvm_shutdown.py Rename Mgmt API to Admin API: methods names 2017-05-12 19:36:03 +02:00
qvm_start_gui.py tests: add more test cases for qvm-start-gui 2017-05-26 00:42:46 +02:00
qvm_start.py Rename Mgmt API to Admin API: methods names 2017-05-12 19:36:03 +02:00
qvm_tags.py tools: add qvm-tags tool 2017-06-20 01:34:17 +02:00
qvm_template_postprocess.py tools: add qvm-template-postprocess 2017-05-26 01:33:43 +02:00
qvm_unpause.py Rename Mgmt API to Admin API: methods names 2017-05-12 19:36:03 +02:00
qvm_volume.py Rename Mgmt API to Admin API: methods names 2017-05-12 19:36:03 +02:00