Features/Snapshots

From QEMU
Revision as of 17:33, 9 December 2010 by Jsorensen (talk | contribs) (Created page with '=Live Snapshots= This document is describing the current design of live snapshots for QEMU. It is a work in progress and things may change as we progress. ==Overall concept== Th…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Live Snapshots

This document is describing the current design of live snapshots for QEMU. It is a work in progress and things may change as we progress.

Overall concept

The idea is to be able to issue a command to QEMU via the monitor or QMP, which causes QEMU to create a new snapshot image with the original image as the backing file, mounted read-only. This will allow the original image file to be backed up.

Roll-back to a previous version requires one to boot from the previous backing file, at which point the snapshot file becomes invalid. Unfortunately there is no way to detect that a backing file has been booted, making it important for administrators to take care to not rely on snapshot files being valid after a roll-back.

The snapshot image will have to be in a format which support backing files, ie QCOW2 (and QED when the code is integrated), however the original image can be of any supported format. Ie. it is possible to make a QCOW2 snapshot of a RAW image.


Monitor command

Future features