]> git.proxmox.com Git - mirror_qemu.git/commit
qga-win: Fix a bug where qemu-ga service is stuck during stop operation
authorSameeh Jubran <sameeh@daynix.com>
Tue, 11 Apr 2017 07:50:36 +0000 (10:50 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 27 Apr 2017 04:56:47 +0000 (23:56 -0500)
commit94d81ae896810beafa60c85b88e991daa986e1fc
tree7401ff7550fac55e2465c87929a8c15f681dfe2f
parent54858553def1879a3b0781529fb12a028ba36713
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>
qga/main.c
qga/vss-win32.h
qga/vss-win32/vss-common.h
qga/vss-win32/vss-handles.h [new file with mode: 0644]