aboutsummaryrefslogtreecommitdiff
path: root/qga/vss-win32.h
diff options
context:
space:
mode:
authorSameeh Jubran <sameeh@daynix.com>2017-04-11 10:50:36 +0300
committerMichael Roth <mdroth@linux.vnet.ibm.com>2017-04-26 23:56:47 -0500
commit94d81ae896810beafa60c85b88e991daa986e1fc (patch)
tree7401ff7550fac55e2465c87929a8c15f681dfe2f /qga/vss-win32.h
parent54858553def1879a3b0781529fb12a028ba36713 (diff)
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>
Diffstat (limited to 'qga/vss-win32.h')
-rw-r--r--qga/vss-win32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qga/vss-win32.h b/qga/vss-win32.h
index 51d303a8f6..4f8e39aa5c 100644
--- a/qga/vss-win32.h
+++ b/qga/vss-win32.h
@@ -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);