summaryrefslogtreecommitdiffstats
path: root/qga/commands-win32.c
diff options
context:
space:
mode:
authorTomoki Sekiyama <tomoki.sekiyama@hds.com>2014-06-30 17:51:27 -0400
committerMichael Roth <mdroth@linux.vnet.ibm.com>2014-08-07 17:13:10 -0500
commite99bce2021d2fd41a4d02f5e7e83734b03ff2b6f (patch)
treea3c6fc8d072ef3d9b62858e289049074ee3ac56a /qga/commands-win32.c
parent2ee55b8351910e5dd898f52415064a4c5479baba (diff)
downloadhqemu-e99bce2021d2fd41a4d02f5e7e83734b03ff2b6f.zip
hqemu-e99bce2021d2fd41a4d02f5e7e83734b03ff2b6f.tar.gz
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/commands-win32.c')
-rw-r--r--qga/commands-win32.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index e769396..94877e9 100644
--- a/qga/commands-win32.c
+++ b/qga/commands-win32.c
@@ -206,6 +206,15 @@ error:
return 0;
}
+int64_t qmp_guest_fsfreeze_freeze_list(bool has_mountpoints,
+ strList *mountpoints,
+ Error **errp)
+{
+ error_set(errp, QERR_UNSUPPORTED);
+
+ return 0;
+}
+
/*
* Thaw local file systems using Volume Shadow-copy Service.
*/
OpenPOWER on IntegriCloud