[libvirt] [PATCH] conf: Generate agent socket path if missing

Daniel P. Berrange berrange at redhat.com
Fri Feb 15 10:58:19 UTC 2013


On Fri, Feb 15, 2013 at 09:53:17AM +0100, Michal Privoznik wrote:
> 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/$domain.agent

IMHO the name should be postfixed by the "channel/target/@name" value
not merely 'agent', otherwise you're introducing uniqueness problems.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list