3 usage: qemu-ga [OPTIONS]
7 @c man begin DESCRIPTION
9 The QEMU Guest Agent is a daemon intended to be run within virtual
10 machines. It allows the hypervisor host to perform various operations
11 in the guest, such as:
15 get information from the guest
17 set the guest's system time
21 sync and freeze the filesystems
25 reconfigure guest local processors
32 qemu-ga will read a system configuration file on startup (located at
33 q@file{/etc/qemu/qemu-ga.conf} by default), then parse remaining
34 configuration options on the command line. For the same key, the last
35 option wins, but the lists accumulate (see below for configuration
42 @item -m, --method=@var{method}
43 Transport method: one of @samp{unix-listen}, @samp{virtio-serial}, or
44 @samp{isa-serial} (@samp{virtio-serial} is the default).
46 @item -p, --path=@var{path}
47 Device/socket path (the default for virtio-serial is
48 @samp{/dev/virtio-ports/org.qemu.guest_agent.0},
49 the default for isa-serial is @samp{/dev/ttyS0})
51 @item -l, --logfile=@var{path}
52 Set log file path (default is stderr).
54 @item -f, --pidfile=@var{path}
55 Specify pid file (default is @samp{/var/run/qemu-ga.pid}).
57 @item -F, --fsfreeze-hook=@var{path}
58 Enable fsfreeze hook. Accepts an optional argument that specifies
59 script to run on freeze/thaw. Script will be called with
60 'freeze'/'thaw' arguments accordingly (default is
61 @samp{/etc/qemu/fsfreeze-hook}). If using -F with an argument, do
62 not follow -F with a space (for example:
63 @samp{-F/var/run/fsfreezehook.sh}).
65 @item -t, --statedir=@var{path}
66 Specify the directory to store state information (absolute paths only,
67 default is @samp{/var/run}).
70 Log extra debugging information.
73 Print version information and exit.
76 Daemonize after startup (detach from terminal).
78 @item -b, --blacklist=@var{list}
79 Comma-separated list of RPCs to disable (no spaces, @samp{?} to list
83 Dump the configuration in a format compatible with @file{qemu-ga.conf}
87 Display this help and exit.
94 The syntax of the @file{qemu-ga.conf} configuration file follows the
95 Desktop Entry Specification, here is a quick summary: it consists of
96 groups of key-value pairs, interspersed with comments.
99 # qemu-ga configuration sample
102 pidfile = /var/run/qemu-ga.pid
104 method = virtio-serial
105 path = /dev/virtio-ports/org.qemu.guest_agent.0
109 The list of keys follows the command line options:
111 @item daemon= boolean
114 @item logfile= string
115 @item pidfile= string
116 @item fsfreeze-hook= string
117 @item statedir= string
118 @item verbose= boolean
119 @item blacklist= string list
127 @settitle QEMU Guest Agent
130 Michael Roth <mdroth@linux.vnet.ibm.com>