mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 19:33:39 +08:00
64c0031740
Support guest-fsfreeze-freeze and guest-fsfreeze-thaw commands for Windows guests. When fsfreeze command is issued, it calls the VSS requester to freeze filesystems and applications. On thaw command, it again tells the VSS requester to thaw them. This also adds calling of initialize functions for the VSS requester. 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>
25 lines
540 B
C
25 lines
540 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);
|
|
|
|
void qga_vss_fsfreeze(int *nr_volume, Error **err, bool freeze);
|
|
|
|
#endif
|