7 **qemu-ga** [*OPTIONS*]
12 The QEMU Guest Agent is a daemon intended to be run within virtual
13 machines. It allows the hypervisor host to perform various operations
14 in the guest, such as:
16 - get information from the guest
17 - set the guest's system time
19 - sync and freeze the filesystems
21 - reconfigure guest local processors
25 qemu-ga will read a system configuration file on startup (located at
26 |CONFDIR|\ ``/qemu-ga.conf`` by default), then parse remaining
27 configuration options on the command line. For the same key, the last
28 option wins, but the lists accumulate (see below for configuration
36 .. option:: -m, --method=METHOD
38 Transport method: one of ``unix-listen``, ``virtio-serial``, or
39 ``isa-serial`` (``virtio-serial`` is the default).
41 .. option:: -p, --path=PATH
43 Device/socket path (the default for virtio-serial is
44 ``/dev/virtio-ports/org.qemu.guest_agent.0``,
45 the default for isa-serial is ``/dev/ttyS0``)
47 .. option:: -l, --logfile=PATH
49 Set log file path (default is stderr).
51 .. option:: -f, --pidfile=PATH
53 Specify pid file (default is ``/var/run/qemu-ga.pid``).
55 .. option:: -F, --fsfreeze-hook=PATH
57 Enable fsfreeze hook. Accepts an optional argument that specifies
58 script to run on freeze/thaw. Script will be called with
59 'freeze'/'thaw' arguments accordingly (default is
60 |CONFDIR|\ ``/fsfreeze-hook``). If using -F with an argument, do
61 not follow -F with a space (for example:
62 ``-F/var/run/fsfreezehook.sh``).
64 .. option:: -t, --statedir=PATH
66 Specify the directory to store state information (absolute paths only,
67 default is ``/var/run``).
69 .. option:: -v, --verbose
71 Log extra debugging information.
73 .. option:: -V, --version
75 Print version information and exit.
77 .. option:: -d, --daemon
79 Daemonize after startup (detach from terminal).
81 .. option:: -b, --blacklist=LIST
83 Comma-separated list of RPCs to disable (no spaces, ``?`` to list
86 .. option:: -D, --dump-conf
88 Dump the configuration in a format compatible with ``qemu-ga.conf``
91 .. option:: -h, --help
93 Display this help and exit.
99 The syntax of the ``qemu-ga.conf`` configuration file follows the
100 Desktop Entry Specification, here is a quick summary: it consists of
101 groups of key-value pairs, interspersed with comments.
105 # qemu-ga configuration sample
108 pidfile = /var/run/qemu-ga.pid
110 method = virtio-serial
111 path = /dev/virtio-ports/org.qemu.guest_agent.0
114 The list of keys follows the command line options:
116 ============= ===========
118 ============= ===========
127 blacklist string list
128 ============= ===========