]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Generate agent socket path if missing
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 9 Apr 2013 17:04:00 +0000 (19:04 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 2 May 2013 14:40:24 +0000 (16:40 +0200)
commit297c99a5676c32d3d98c08c24499271c52fbb3fb
tree453a1d5f37f6756cd6bfdb5e3601503e3c69e1d1
parentca75c44310521ed5b987fc33014a8eeae652bad3
qemu: Generate agent socket path if missing

It's not desired to force users imagine path for a socket they
are not even supposed to connect to. On the other hand, we
already have a release where the qemu agent socket path is
exposed to XML, so we cannot silently drop it from there.
The new path is generated in form:

$LOCALSTATEDIR/lib/libvirt/qemu/channel/target/$domain.$name

for qemu system mode, and

$XDG_CONFIG_HOME/qemu/lib/channel/target/$domain.$name

for qemu session mode.
docs/formatdomain.html.in
libvirt.spec.in
src/Makefile.am
src/conf/domain_conf.c
src/qemu/qemu_domain.c