qga-win: Fix Event Viewer errors caused by qemu-ga
commit15296053378462e996032d9f50d62515f2230681
authorSameeh Jubran <sameeh@daynix.com>
Wed, 5 Apr 2017 12:01:06 +0000 (5 15:01 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 27 Apr 2017 04:56:47 +0000 (26 23:56 -0500)
tree997e50b1e003a8fe2c148b74960f929e0166782a
parent94d81ae896810beafa60c85b88e991daa986e1fc
qga-win: Fix Event Viewer errors caused by qemu-ga

When the command "guest-fsfreeze-freeze" is executed it causes
the VSS service to log the error below in the Event Viewer. This
error is caused by an issue in the function "CommitSnapshots" in
provider.cpp:

* When VSS_TIMEOUT_MSEC expires the funtion returns E_ABORT. This causes
the error #12293.

|event id|                           error                               |
* 12293  : Volume Shadow Copy Service error: Error calling a routine on a
           Shadow Copy Provider {00000000-0000-0000-0000-000000000000}.
           Routine details CommitSnapshots [hr = 0x80004004, Operation
           aborted.

Signed-off-by: Sameeh Jubran <sameeh@daynix.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/vss-win32/provider.cpp