summaryrefslogtreecommitdiffstats
path: root/qga/vss-win32.h
diff options
context:
space:
mode:
authorChen Hanxiao2018-08-31 08:22:50 +0200
committerMichael Roth2018-10-30 22:48:49 +0100
commit0692b03ee135f6295168082199af55c6f289794d (patch)
tree25a3b4274ffd8453a955b1fbe5c4e238800556bb /qga/vss-win32.h
parentqga: Support Unicode paths in guest-file-open on win32 (diff)
downloadqemu-0692b03ee135f6295168082199af55c6f289794d.tar.gz
qemu-0692b03ee135f6295168082199af55c6f289794d.tar.xz
qemu-0692b03ee135f6295168082199af55c6f289794d.zip
qga-win: add support for qmp_guest_fsfreeze_freeze_list
This patch add support for freeze specified fs. The valid mountpoints list member are [1]: The path of a mounted folder, for example, Y:\MountX\ A drive letter, for example, D:\ A volume GUID path of the form \\?\Volume{GUID}\, where GUID identifies the volume A UNC path that specifies a remote file share, for example, \\Clusterx\Share1\ [1] https://docs.microsoft.com/en-us/windows/desktop/api/vsbackup/nf-vsbackup-ivssbackupcomponents-addtosnapshotset Cc: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Chen Hanxiao <chenhanxiao@gmail.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qga/vss-win32.h')
-rw-r--r--qga/vss-win32.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qga/vss-win32.h b/qga/vss-win32.h
index 4f8e39aa5c..ce2abe5a72 100644
--- a/qga/vss-win32.h
+++ b/qga/vss-win32.h
@@ -22,6 +22,7 @@ bool vss_initialized(void);
int ga_install_vss_provider(void);
void ga_uninstall_vss_provider(void);
-void qga_vss_fsfreeze(int *nr_volume, bool freeze, Error **errp);
+void qga_vss_fsfreeze(int *nr_volume, bool freeze,
+ strList *mountpints, Error **errp);
#endif