About this task
Use the following procedure to delete a snapshot for the virtual
machine(VM) KVM-SBCE-7.2.
Before you begin
Verify with the system administrator that the required privilege
Virtual machine.State.Removal snapshot is available on the virtual
machine.
Procedure
- Log in to the KVM host with root permissions.
- At the console, type virt-manager.
The system displays the Virtual Machine Manager GUI.
- Type 2 for CLI
mode.
- Shutdown the VM by using the virsh shutdown KVM-SBCE-7.2 command.
The system shuts down the KVM-SBCE-7.2 instance.
- List the created snapshots, using the .virsh snapshot-list
KVM-SBCE-7.2 command.
The system displays the list of all the created snapshots.
- Delete the snapshot, using the virsh snapshot-list
KVM-SBCE-7.2 command with the name of the snapshot.
# virsh snapshot-revert KVM-SBCE-7.2 <Name of the snapshot>
The system deletes the specified snapshot.