mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
94d81ae896
After triggering a freeze command without any following thaw command, qemu-ga will not respond to stop operation. This behaviour is wanted on Linux as there is no time limit for a freeze command and we want to prevent quitting in the middle of freeze, on the other hand on Windows the time limit for freeze is 10 seconds, so we should wait for the timeout, thaw the file system and quit. Signed-off-by: Sameeh Jubran <sameeh@daynix.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
28 lines
630 B
C
28 lines
630 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, Error **errp);
|
|
|
|
#endif
|