mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
qga-win: Fix a bug where qemu-ga service is stuck during stop operation
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>
This commit is contained in:
parent
54858553de
commit
94d81ae896
4 changed files with 39 additions and 10 deletions
|
@ -13,6 +13,7 @@
|
|||
#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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue