14.11. Listing, Creating, Applying, and Deleting a Snapshot

Using different parameters from the qemu-img snapshot command you can list, apply, create, or delete an existing snapshot (snapshot) of specified image (filename).
# qemu-img snapshot [ -l | -a snapshot | -c snapshot | -d snapshot ] filename
The accepted arguments are as follows:
  • -l lists all snapshots associated with the specified disk image.
  • The apply option, -a, reverts the disk image (filename) to the state of a previously saved snapshot.
  • -c creates a snapshot (snapshot) of an image (filename).
  • -d deletes the specified snapshot.