Statistics
| Branch: | Revision:

root / qga @ 5b50e790

Latest revisions

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

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

qga: determine default state dir and pidfile dynamically

No effective change on POSIX, but on Win32 the defaults come from the
environment / session.

Since commit 39097daf ("qemu-ga: use key-value store to avoid recycling fd
handles after restart") we've relied on the state directory for the fd...

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

qga: create state directory on win32

On Win32 the local state directory is application specific and users might
expect qemu-ga to create it automatically.

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

ce4cc316 05/17/2013 06:00 pm Anthony Liguori

Merge remote-tracking branch 'mdroth/qga-pull-2013-05-13' into staging

  • mdroth/qga-pull-2013-05-13:
    qga: unlink just created guest-file if fchmod() or fdopen() fails on it
    qga: distinguish binary modes in "guest_file_open_modes" map

Signed-off-by: Anthony Liguori <>

8fe6bbca 05/13/2013 05:45 pm Laszlo Ersek

qga: distinguish binary modes in "guest_file_open_modes" map

In Windows guests this may make a difference.

Since the original patch (commit c689b4f1) sought to be pedantic and to
consider theoretical corner cases of portability, we should fix it up
where it failed to come through in that pursuit....

2b720018 05/13/2013 05:45 pm Laszlo Ersek

qga: unlink just created guest-file if fchmod() or fdopen() fails on it

We shouldn't allow guest filesystem pollution on error paths.

Suggested-by: Eric Blake <>
Signed-off-by: Laszlo Ersek <>
Reviewed-by: Eric Blake <>...

View revisions

Also available in: Atom