From e99bce2021d2fd41a4d02f5e7e83734b03ff2b6f Mon Sep 17 00:00:00 2001 From: Tomoki Sekiyama Date: Mon, 30 Jun 2014 17:51:27 -0400 Subject: qga: Add guest-fsfreeze-freeze-list command If an array of mount point paths is specified as 'mountpoints' argument of guest-fsfreeze-freeze-list, qemu-ga will only freeze the file systems mounted on specified paths in Linux guests. Otherwise, it works as the same way as guest-fsfreeze-freeze. This would be useful when the host wants to create partial disk snapshots. Signed-off-by: Tomoki Sekiyama Reviewed-by: Eric Blake *updated schema to report 2.2 as initial supported version Signed-off-by: Michael Roth --- qga/qapi-schema.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'qga/qapi-schema.json') diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json index a8cdcb35c4..14b2aec69f 100644 --- a/qga/qapi-schema.json +++ b/qga/qapi-schema.json @@ -386,6 +386,23 @@ { 'command': 'guest-fsfreeze-freeze', 'returns': 'int' } +## +# @guest-fsfreeze-freeze-list: +# +# Sync and freeze specified guest filesystems +# +# @mountpoints: #optional an array of mountpoints of filesystems to be frozen. +# If omitted, every mounted filesystem is frozen. +# +# Returns: Number of file systems currently frozen. On error, all filesystems +# will be thawed. +# +# Since: 2.2 +## +{ 'command': 'guest-fsfreeze-freeze-list', + 'data': { '*mountpoints': ['str'] }, + 'returns': 'int' } + ## # @guest-fsfreeze-thaw: # -- cgit v1.2.3