Re: [libvirt] [PATCH] virsh: domdisplay: if listen is 0.0.0.0 or [::] print address from URI

2016-06-08 Thread Peter Krempa
On Mon, May 30, 2016 at 16:45:32 +0200, Pavel Hrdina wrote: > Currently if a guest has listen address 0.0.0.0 or [::] and you run > "virsh domdisplay $domain" you always get "spice://localhost:$port". > > We want to print better address if someone is connected from a different > computer using "vi

[libvirt] [PATCH] virsh: domdisplay: if listen is 0.0.0.0 or [::] print address from URI

2016-05-30 Thread Pavel Hrdina
Currently if a guest has listen address 0.0.0.0 or [::] and you run "virsh domdisplay $domain" you always get "spice://localhost:$port". We want to print better address if someone is connected from a different computer using "virsh -c qemu+ssh://some.host/system". This patch fixes the behavior of