"snapshot-revert",
{
reqd = [];
- optn = ["uuid"];
+ optn = ["uuid"; "snapshot-uuid"];
help ="Revert an existing VM to a previous checkpointed or snapshotted state.";
implementation = No_fd Cli_operations.snapshot_revert;
flags =[Standard];
"snapshot-reset-powerstate",
{
reqd=[];
- optn=["uuid"; "force"];
+ optn=["uuid"; "snapshot-uuid"; "force"];
help="Force the VM powerstate to halted in the management toolstack database only. This command is used to recover a snapshot that is marked as 'suspended'. This is a potentially dangerous operation: you must ensure that you do not need the memory image anymore (ie. you will not be able to resume your snapshot anymore).";
implementation= No_fd Cli_operations.snapshot_reset_powerstate;
flags=[Standard; Vm_selectors];
"snapshot-uninstall",
{
reqd=[];
- optn=["uuid"; "force"];
+ optn=["uuid"; "snapshot-uuid"; "force"];
help="Uninstall a snapshot. This operation will destroy those VDIs that are marked RW and connected to this snapshot only. To simply destroy the VM record, use snapshot-destroy.";
implementation= With_fd Cli_operations.snapshot_uninstall;
flags=[Standard];
"snapshot-destroy",
{
reqd=[];
- optn=["uuid"];
+ optn=["uuid"; "snapshot-uuid"];
help="Destroy a snapshot. This leaves the storage associated with the snapshot intact. To delete storage too, use snapshot-uninstall.";
implementation=No_fd Cli_operations.snapshot_destroy;
flags=[];
"snapshot-disk-list",
{
reqd=[];
- optn=["uuid"; "vbd-params";"vdi-params"];
+ optn=["uuid"; "snapshot-uuid"; "vbd-params"; "vdi-params"];
help="List the disks on the selected VM(s).";
implementation= No_fd (Cli_operations.snapshot_disk_list false);
flags=[Standard; Vm_selectors];