diff options
author | Sameeh Jubran | 2017-03-23 17:26:50 +0100 |
---|---|---|
committer | Michael Roth | 2017-04-27 06:56:46 +0200 |
commit | f342cc93ec918d684e8a6f6e646551a9c7fbc019 (patch) | |
tree | 716d871a6745b5a2d1daa450350a15b5d1c74949 /qga/vss-win32/requester.cpp | |
parent | Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20170426' into staging (diff) | |
download | qemu-f342cc93ec918d684e8a6f6e646551a9c7fbc019.tar.gz qemu-f342cc93ec918d684e8a6f6e646551a9c7fbc019.tar.xz qemu-f342cc93ec918d684e8a6f6e646551a9c7fbc019.zip |
qemu-ga: Make QGA VSS provider service run only when needed
Currently the service runs in background on boot even though it is not
needed and once it is running it never stops. The service needs to be
running only during freeze operation and it should be stopped after
executing thaw.
Signed-off-by: Sameeh Jubran <sameeh@daynix.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qga/vss-win32/requester.cpp')
-rw-r--r-- | qga/vss-win32/requester.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qga/vss-win32/requester.cpp b/qga/vss-win32/requester.cpp index 0cd2f0ee7f..301762d8b1 100644 --- a/qga/vss-win32/requester.cpp +++ b/qga/vss-win32/requester.cpp @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "vss-common.h" #include "requester.h" +#include "install.h" #include <inc/win2003/vswriter.h> #include <inc/win2003/vsbackup.h> @@ -501,4 +502,5 @@ void requester_thaw(int *num_vols, ErrorSet *errset) requester_cleanup(); CoUninitialize(); + StopService(); } |