Statistics
| Branch: | Revision:

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

History | View | Annotate | Download (10.6 kB)

# Date Author Comment
2c958923 02/23/2014 09:11 pm Michal Privoznik

qga: Don't require 'time' argument in guest-set-time command

As the description to the guest-set-time states, the command is
there to ease time synchronization after resume. If guest was
suspended for longer period of time, its system time can go off
so badly, that even NTP refuses to set it. That's why the command...

84d18f06 02/17/2014 06:57 pm Markus Armbruster

Use error_is_set() only when necessary

error_is_set(&var) is the same as var != NULL, but it takes
whole-program analysis to figure that out. Unnecessarily hard for
optimizers, static checkers, and human readers. Dumb it down to
obvious.

Gets rid of several dozen Coverity false positives....

16f4e8fa 11/26/2013 06:35 am Stefan Weil

qga: Fix two format strings for MinGW

Both code locations cause a compiler warning. Using "%s" instead of "%lu"
would result in a program crash if the wrong code were executed.

Signed-off-by: Stefan Weil <>
Message-id: ...

64c00317 09/09/2013 10:17 pm Tomoki Sekiyama

qemu-ga: Call Windows VSS requester in fsfreeze command handler

Support guest-fsfreeze-freeze and guest-fsfreeze-thaw commands for Windows
guests. When fsfreeze command is issued, it calls the VSS requester to
freeze filesystems and applications. On thaw command, it again tells the VSS...

3f2a6087 04/02/2013 05:06 pm Lei Li

qga: add windows implementation for guest-get-time

Signed-off-by: Lei Li <>
Reviewed-by: Eric Blake <>
Reviewed-by: Michael Roth <>
Signed-off-by: Michael Roth <>

b8f954fe 04/02/2013 05:06 pm Lei Li

qga: add windows implementation for guest-set-time

Signed-off-by: Lei Li <>
Reviewed-by: Eric Blake <>
Reviewed-by: Michael Roth <>
Signed-off-by: Michael Roth <>

70e133a7 03/12/2013 01:57 am Laszlo Ersek

qga: introduce guest-get-vcpus / guest-set-vcpus with stubs

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

6912e6a9 03/12/2013 01:53 am Lei Li

qga: add guest-get-time command

Signed-off-by: Lei Li <>
Reviewed-by: Eric Blake <>
Reviewed-by: Michael Roth <>

*added stub for w32

Signed-off-by: Michael Roth <>

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

qga: add guest-set-time command

Signed-off-by: Lei Li <>
Reviewed-by: Eric Blake <>
Reviewed-by: Michael Roth <>

*added stub for w32

Signed-off-by: Michael Roth <>

7b1b5d19 12/19/2012 09:31 am Paolo Bonzini

qapi: move include files to include/qobject/

Signed-off-by: Paolo Bonzini <>

4d5b97da 10/05/2012 04:10 pm Amos Kong

cleanup useless return sentence

This patch cleans up return sentences in the end of void functions.

Reported-by: Paolo Bonzini <>
Signed-off-by: Amos Kong <>
Signed-off-by: Stefan Hajnoczi <>

eab5fd59 06/22/2012 01:59 am Paolo Bonzini

qemu-ga: add guest-fstrim command

FITRIM is a mounted filesystem feature to discard (or "trim") blocks which
are not in use by the filesystem. This is useful for solid-state drives
(SSDs) and thinly-provisioned storage. Provide access to the feature
from the host so that filesystems can be trimmed periodically or before...

11d0f125 03/12/2012 10:09 pm Luiz Capitulino

qemu-ga: add guest-suspend-disk

As the command name implies, this command suspends the guest to disk.

The suspend operation is implemented by two functions: bios_supports_mode()
and guest_suspend(). Both functions are generic enough to be used by
other suspend modes (introduced by next commits)....

fbf42210 03/12/2012 10:09 pm Luiz Capitulino

qemu-ga: add guest-suspend-ram

Signed-off-by: Luiz Capitulino <>

95f4f404 03/12/2012 10:09 pm Luiz Capitulino

qemu-ga: add guest-suspend-hybrid

Signed-off-by: Luiz Capitulino <>

aa59637e 03/12/2012 10:09 pm Gal Hammer

qemu-ga: add win32 guest-suspend-disk command.

Implement guest-suspend-disk RPC for Windows. Functionally this should be
equivalent to the posix implementation.

Signed-off-by: Gal Hammer <>

f54603b6 03/12/2012 10:09 pm Michael Roth

qemu-ga: add win32 guest-suspend-ram command

S3 sleep implementation for windows.

3424fc9f 03/12/2012 10:09 pm Michal Privoznik

qemu-ga: add guest-network-get-interfaces command

This command returns an array of:

[ifname, hwaddr, [ipaddr, ipaddr_family, prefix] ]

for each interface in the system.
Currently, only IPv4 and IPv6 are supported.

Signed-off-by: Michal Privoznik <>

546b60d0 02/23/2012 11:43 pm Michael Roth

qemu-ga: add win32 guest-shutdown command

Implement guest-shutdown RPC for Windows. Functionally this should be
equivalent to the posix implementation.

Original patch by Gal Hammer <>

d8ca685a 02/23/2012 11:40 pm Michael Roth

qemu-ga: fixes for win32 build of qemu-ga

Various stubs and #ifdefs to compile for Windows using mingw
cross-build. Still has 1 linker error due to a dependency on the
forthcoming win32 versions of the GAChannel/transport class.