mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
81b2d5ceb0
commit
f342cc93ec
3 changed files with 48 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue