]> www.infradead.org Git - users/dwmw2/qemu.git/commit
qga: vss-win32: Fix interference with snapshot deletion by other VSS request
authorTomoki Sekiyama <tomoki.sekiyama@hds.com>
Mon, 13 Jan 2014 17:25:39 +0000 (12:25 -0500)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 25 Feb 2014 19:34:03 +0000 (13:34 -0600)
commit6d0a48acd8442e1a74443c190b58c60547788fdc
tree1e50280a0e2501a1c46f6b2fa0987b6a080f1027
parent5e5d4fc68e1e0bcc29ab2354f32c37a754fd9192
qga: vss-win32: Fix interference with snapshot deletion by other VSS request

When a VSS requester such as vshadow.exe or diskshadow.exe requests to
delete snapshots, qemu-ga VSS provider's DeleteSnapshots() is also called
and returns E_NOTIMPL, that makes the deletion fail.
To avoid this issue, return S_OK and set values that represent no snapshots
are deleted by qemu-ga VSS provider.

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>
(cherry picked from commit d9e1f574cb6eac0a3a2f97b67d2e7a3ad9c1dc95)

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