History | View | Annotate | Download (5.5 kB)
qga/service-win32.c: diagnostic output should go to stderr
Acked-by: Michael Roth <mdroth@linux.vnet.ibm.com>Reviewed-by: Eric Blake <eblake@redhat.com>Signed-off-by: Laszlo Ersek <lersek@redhat.com>Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
ga_install_service(): nest error paths more idiomatically
qga: escape cmdline args when registering win32 service (CVE-2013-2231)
Reported-by: Lev Veyde <lveyde@redhat.com>Reviewed-by: Eric Blake <eblake@redhat.com>Signed-off-by: Laszlo Ersek <lersek@redhat.com>Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga: remove undefined behavior in ga_install_service()
We shouldn't snprintf() from a buffer to the same buffer.
Signed-off-by: Laszlo Ersek <lersek@redhat.com>Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga: save state directory in ga_install_service()
If the user selects a non-default state directory at service installationtime, we should remember it in the registered service.
qga: cast to int for DWORD type
This patch fixes a compiler warning when cross-build:
qga/service-win32.c: In function 'printf_win_error':qga/service-win32.c:32:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' [-Wformat]...
qemu-ga: add Windows service integration
This allows qemu-ga to function as a Windows service:
- to install the service (will auto-start on boot): qemu-ga --service install - to start the service: net start qemu-ga - to stop the service: net stop qemu-ga...