qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] qga: vss-win32: Fix interference with other VSS requesters
@ 2014-01-13 17:25 Tomoki Sekiyama
  2014-01-13 17:25 ` [Qemu-devel] [PATCH 1/3] qga: vss-win32: Use NULL as an invalid pointer for OpenEvent and CreateEvent Tomoki Sekiyama
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Tomoki Sekiyama @ 2014-01-13 17:25 UTC (permalink / raw)
  To: qemu-devel
  Cc: ghammer, mdroth, lcapitulino, mitsuhiro.tanino, rhod, pbonzini,
	seiji.aguchi, areis

Current functionarity of qemu-ga VSS provider is limited to implement
filesystems freeze, and doesn't support the creation of shadow copies
within the guest.
However, when no other hardware snapshot provider is installed, VSS may
choose qemu-ga VSS provider to create shadow copies and fail with
VSS_E_UNEXPECTED_PROVIDER_ERROR.
Similar issue occurs when the requester deletes shadow copies.

This patchset fix this issue by telling VSS that the volume is not
supported by qemu-ga VSS provider when it is kicked by other requesters.

It also fixes wrong error handling around OpenEvent/CreateEvent WinAPI,
which returns NULL instead of INVALID_HANDLE_VALUE on errors.

https://bugzilla.redhat.com/show_bug.cgi?id=1036341

---
Tomoki Sekiyama (3):
      qga: vss-win32: Use NULL as an invalid pointer for OpenEvent and CreateEvent
      qga: vss-win32: Fix interference with snapshot creation by other VSS requesters
      qga: vss-win32: Fix interference with snapshot deletion by other VSS request


 qga/vss-win32/provider.cpp  |   21 ++++++++++---
 qga/vss-win32/requester.cpp |   70 ++++++++++++++++++++-----------------------
 2 files changed, 49 insertions(+), 42 deletions(-)

-- 
Tomoki Sekiyama

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-02-24  0:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-13 17:25 [Qemu-devel] [PATCH 0/3] qga: vss-win32: Fix interference with other VSS requesters Tomoki Sekiyama
2014-01-13 17:25 ` [Qemu-devel] [PATCH 1/3] qga: vss-win32: Use NULL as an invalid pointer for OpenEvent and CreateEvent Tomoki Sekiyama
2014-01-14  8:32   ` Gal Hammer
2014-01-19 10:22   ` Yan Vugenfirer
2014-01-13 17:25 ` [Qemu-devel] [PATCH 2/3] qga: vss-win32: Fix interference with snapshot creation by other VSS requesters Tomoki Sekiyama
2014-01-14  8:33   ` Gal Hammer
2014-01-19 10:21   ` Yan Vugenfirer
2014-01-13 17:25 ` [Qemu-devel] [PATCH 3/3] qga: vss-win32: Fix interference with snapshot deletion by other VSS request Tomoki Sekiyama
2014-01-14  8:34   ` Gal Hammer
2014-01-19 10:21   ` Yan Vugenfirer
2014-02-24  0:58 ` [Qemu-devel] [PATCH 0/3] qga: vss-win32: Fix interference with other VSS requesters Michael Roth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).