Tomoki Sekiyama ff8adbcfdb qga: vss-win32: Fix interference with snapshot creation by other VSS requesters
When a VSS requester such as vshadow.exe or diskshadow.exe requests to
create disk snapshots, Windows may choose qemu-ga VSS provider if it is
only provider registered on the system. However, because it provides only a
function to freeze the filesystem, the snapshotting fails.

This patch adds a check into CQGAVssProvider::IsVolumeSupported() to reject
the request from other VSS requesters, so that the other provider is chosen.

The check of requester is done by confirming event channels between
qemu-ga's requester and provider established. To ensure that the events are
initialized when CQGAVssProvider::IsVolumeSupported() is called, it moves
the initialization earlier.

Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
Reviewed-by: Gal Hammer <ghammer@redhat.com>
Reviewed-by: Yan Vugenfirer <yvugenfi@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2014-02-23 13:11:26 -06:00
…
…
2014-02-14 21:12:05 +01:00
…
…
2014-01-08 19:07:20 +00:00
…
…
…
…
…
…
2014-02-11 22:56:37 +10:00
2014-02-11 22:56:37 +10:00
…
…
…
2014-02-17 11:57:23 -05:00
…
…
2014-02-09 09:12:38 +01:00
2014-01-24 17:40:03 +01:00
2014-02-01 13:46:06 +04:00
2013-12-04 15:19:00 +01:00
2013-12-04 15:19:00 +01:00
…
…
…
…
…
2014-02-17 11:57:23 -05:00
2013-11-27 14:02:45 -08:00
…

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
S
Description
A QEMU emulator for legacy Apple devices
Readme GPL-2.0
557 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.9%
C++ 6.4%
Python 3.3%
Dylan 2.9%
Shell 1.6%
Other 2.7%