snapshots: Introduce VIR_DOMAIN_SNAPSHOT_CREATE_QUIESCE flag

With this flag, virDomainSnapshotCreate will use fs-freeze and
fs-thaw guest agent commands to quiesce guest's disks.
This commit is contained in:
Michal Privoznik
2012-01-24 21:14:08 +01:00
parent 29bce12ada
commit 109593ecb0
3 changed files with 89 additions and 8 deletions

View File

@@ -3125,6 +3125,10 @@ typedef enum {
system checkpoint */
VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT = (1 << 5), /* reuse any existing
external files */
VIR_DOMAIN_SNAPSHOT_CREATE_QUIESCE = (1 << 6), /* use guest agent to
quiesce all mounted
file systems within
the domain */
} virDomainSnapshotCreateFlags;
/* Take a snapshot of the current VM state */