qemu-e2k/qga/vss-win32
Tomoki Sekiyama bca4bf1028 qemu-ga: vss-win32: Install VSS provider COM+ application service
Currently, qemu-ga for Windows fails to execute guset-fsfreeze-freeze when
no user is logging in to Windows, with an error message:
  {"error":{"class":"GenericError",
            "desc":"failed to add C:\\ to snapshotset:  (error: 8004230f)"}}

To enable guest-fsfreeze-freeze/thaw without logging in users, this installs
a service to execute qemu-ga VSS provider COM+ application that has full
access privileges to the local system. The service will automatically be
removed when the COM+ application is deregistered.

This patch replaces ICOMAdminCatalog interface with ICOMAdminCatalog2
interface that contains CreateServiceForApplication() method in addition.

Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
Reviewed-by: Gal Hammer <ghammer@redhat.com>
Reviewed-by: Yan Vugenfirer <yvugenfi@redhat.com>
Tested-by: Yan Vugenfirer <yvugenfi@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2013-11-22 15:14:05 -06:00
..
Makefile.objs qemu-ga: Add Windows VSS provider and requester as DLL 2013-09-09 14:17:57 -05:00
install.cpp qemu-ga: vss-win32: Install VSS provider COM+ application service 2013-11-22 15:14:05 -06:00
provider.cpp qemu-ga: Add Windows VSS provider and requester as DLL 2013-09-09 14:17:57 -05:00
qga-vss.def qemu-ga: Add Windows VSS provider and requester as DLL 2013-09-09 14:17:57 -05:00
qga-vss.idl qemu-ga: Add Windows VSS provider and requester as DLL 2013-09-09 14:17:57 -05:00
qga-vss.tlb qemu-ga: Add Windows VSS provider and requester as DLL 2013-09-09 14:17:57 -05:00
requester.cpp qemu-ga: Add Windows VSS provider and requester as DLL 2013-09-09 14:17:57 -05:00
requester.h qga: Fix compilation for old versions of MinGW 2013-11-13 15:59:06 +04:00
vss-common.h qemu-ga: Add Windows VSS provider and requester as DLL 2013-09-09 14:17:57 -05:00