forked from queueRAM/qemu-irix
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Michael Roth <[email protected]>
- Loading branch information
Showing
4 changed files
with
39 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#ifndef VSS_HANDLES | ||
#define VSS_HANDLES | ||
|
||
/* Constants for QGA VSS Provider */ | ||
|
||
#define QGA_PROVIDER_NAME "QEMU Guest Agent VSS Provider" | ||
#define QGA_PROVIDER_LNAME L(QGA_PROVIDER_NAME) | ||
#define QGA_PROVIDER_VERSION L(QEMU_VERSION) | ||
|
||
#define EVENT_NAME_FROZEN "Global\\QGAVSSEvent-frozen" | ||
#define EVENT_NAME_THAW "Global\\QGAVSSEvent-thaw" | ||
#define EVENT_NAME_TIMEOUT "Global\\QGAVSSEvent-timeout" | ||
|
||
#endif |