mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 18:05:37 +00:00
![Chen Hanxiao](/assets/img/avatar_default.png)
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>
29 lines
673 B
C
29 lines
673 B
C
/*
|
|
* QEMU Guest Agent VSS utility declarations
|
|
*
|
|
* Copyright Hitachi Data Systems Corp. 2013
|
|
*
|
|
* Authors:
|
|
* Tomoki Sekiyama <tomoki.sekiyama@hds.com>
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
#ifndef VSS_WIN32_H
|
|
#define VSS_WIN32_H
|
|
|
|
#include "qga/vss-win32/vss-handles.h"
|
|
|
|
bool vss_init(bool init_requester);
|
|
void vss_deinit(bool deinit_requester);
|
|
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,
|
|
strList *mountpints, Error **errp);
|
|
|
|
#endif
|