Re: [virt-viewer] Don't connect to localhost when using --direct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 03, 2014 at 02:48:10PM +0200, Christophe Fergeau wrote:
> Trying to connect to a remote virtual machine using
> virt-viewer -c qemu+ssh://example.com/system --direct $vm_name
> will currently fail with an error message saying it's not possible to
> localhost. This happens with VMs which listen on a wildcard address (eg
> '0.0.0.0').
> This was introduced by commit 74b1b62 which changes the host to connect to
> to 'localhost' when trying to connect through ssh to a VM listening on a
> wildcard address. This is only valid when using a ssh tunnel, and should
> not be done with --direct. The fallback code which uses the hostname from
> the libvirt URI is what makes the most sense in this situation (wildcard
> listen address + --direct).
> This commit introduces a virt_viewer_app_get_direct() so that this can be
> implemented.
> 
> Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1079211

Ping?

Christophe

Attachment: pgp2nyzAwCpwD.pgp
Description: PGP signature

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux