summaryrefslogtreecommitdiffstats
path: root/qga/qapi-schema.json
diff options
context:
space:
mode:
authorTomoki Sekiyama2014-06-30 23:51:27 +0200
committerMichael Roth2014-08-08 00:13:10 +0200
commite99bce2021d2fd41a4d02f5e7e83734b03ff2b6f (patch)
treea3c6fc8d072ef3d9b62858e289049074ee3ac56a /qga/qapi-schema.json
parentMerge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (diff)
downloadqemu-e99bce2021d2fd41a4d02f5e7e83734b03ff2b6f.tar.gz
qemu-e99bce2021d2fd41a4d02f5e7e83734b03ff2b6f.tar.xz
qemu-e99bce2021d2fd41a4d02f5e7e83734b03ff2b6f.zip
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 <tomoki.sekiyama@hds.com> Reviewed-by: Eric Blake <eblake@redhat.com> *updated schema to report 2.2 as initial supported version Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qga/qapi-schema.json')
-rw-r--r--qga/qapi-schema.json17
1 files changed, 17 insertions, 0 deletions
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
@@ -387,6 +387,23 @@
'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:
#
# Unfreeze all frozen guest filesystems