Statistics
| Branch: | Revision:

root / qga / service-win32.c @ feature-archipelago

History | View | Annotate | Download (5.5 kB)

# Date Author Comment
febf1c49 07/25/2013 10:49 pm Laszlo Ersek

qga/service-win32.c: diagnostic output should go to stderr

Acked-by: Michael Roth <>
Reviewed-by: Eric Blake <>
Signed-off-by: Laszlo Ersek <>
Signed-off-by: Michael Roth <>

108365fd 07/25/2013 10:49 pm Laszlo Ersek

ga_install_service(): nest error paths more idiomatically

Acked-by: Michael Roth <>
Reviewed-by: Eric Blake <>
Signed-off-by: Laszlo Ersek <>
Signed-off-by: Michael Roth <>

340d51df 07/25/2013 10:49 pm Laszlo Ersek

qga: escape cmdline args when registering win32 service (CVE-2013-2231)

Reported-by: Lev Veyde <>
Reviewed-by: Eric Blake <>
Signed-off-by: Laszlo Ersek <>
Signed-off-by: Michael Roth <>

a880845f 05/30/2013 07:37 pm Laszlo Ersek

qga: remove undefined behavior in ga_install_service()

We shouldn't snprintf() from a buffer to the same buffer.

Signed-off-by: Laszlo Ersek <>
Signed-off-by: Michael Roth <>

a839ee77 05/30/2013 07:37 pm Laszlo Ersek

qga: save state directory in ga_install_service()

If the user selects a non-default state directory at service installation
time, we should remember it in the registered service.

Signed-off-by: Laszlo Ersek <>
Signed-off-by: Michael Roth <>

ed2cbf74 03/12/2013 01:53 am Lei Li

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]...

bc62fa03 02/23/2012 11:43 pm Michael Roth

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...