[libvirt] [PATCH] remote: Switch to TLS when connecting to remote socket

Daniel P. Berrange berrange at redhat.com
Mon Aug 22 14:04:56 UTC 2011


On Mon, Aug 22, 2011 at 03:53:37PM +0200, Michal Privoznik wrote:
> If users wants to connect to remote unix socket, e.g.
> 'qemu+unix://<remote>/system' currently the <remote> part is ignored,
> ending up connecting to localhost. This patch solves this issue by
> creating TLS connection.

If the user wants to use TLS, they should have asked for it eg

  qemu://<remote>/system
  qemu+tls://<remote>/system

Specifying protocol '+unix' while also setting a hostname component
is an error IMHO.

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