mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-01-28 15:27:18 -05:00
mgmt1: add volume.Import method
This will allow importing full VM through the Admin API. Important for "VM import" feature (QubesOS/qubes-issues#2634) and "paranoid backup restore" (QubesOS/qubes-issues#2737).
This commit is contained in:
parent
bdb3108763
commit
7ec63f5395
@ -72,12 +72,14 @@ to set the policy using current mechanism.
|
||||
| `mgmt.pool.volume.Snapshot` | `dom0` | pool | vid | snapshot |
|
||||
| `mgmt.pool.volume.Revert` | `dom0` | pool | `<vid> <snapshot>` | - |
|
||||
| `mgmt.pool.volume.Resize` | `dom0` | pool | `<vid> <size_in_bytes>` | - |
|
||||
| `mgmt.pool.volume.Import` | `dom0` | pool | `<vid>\n<raw volume data>` | - |
|
||||
| `mgmt.vm.volume.List` | vm | - | - | `<volume>\n` | `<volume>` is per-VM volume name, `<vid>` is pool-unique volume id
|
||||
| `mgmt.vm.volume.Info` | vm | volume | - | `<property>=<value>\n` |
|
||||
| `mgmt.vm.volume.ListSnapshots` | vm | volume | - | snapshot | duplicate of `mgmt.pool.volume.`, but with other call params |
|
||||
| `mgmt.vm.volume.Snapshot` | vm | volume | - | snapshot | id. |
|
||||
| `mgmt.vm.volume.Revert` | vm | volume | snapshot | - | id. |
|
||||
| `mgmt.vm.volume.Resize` | vm | volume | size_in_bytes | - | id. |
|
||||
| `mgmt.vm.volume.Import` | vm | volume | raw volume data | - | id. |
|
||||
| `mgmt.vm.Start` | vm | - | - | - |
|
||||
| `mgmt.vm.Shutdown` | vm | - | - | - |
|
||||
| `mgmt.vm.Pause` | vm | - | - | - |
|
||||
|
Loading…
x
Reference in New Issue
Block a user