f311f2c20a
Register QGA VSS provider library into Windows when qemu-ga is installed as Windows service ('-s install' option). It is deregistered when the service is uninstalled ('-s uninstall' option). Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@hds.com> Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
28 lines
614 B
C
28 lines
614 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 "qapi/error.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, Error **err, bool freeze);
|
|
|
|
#endif
|