[libvirt] [PATCH] tools: virsh: Adding unix socket support to 'domdisplay' command.

Michal Privoznik mprivozn at redhat.com
Mon Jul 24 13:42:44 UTC 2017


On 07/20/2017 11:11 PM, Julio Faracco wrote:
> This commit adds the unix socket URL support to 'domdisplay' command.
> Before, even if an user was using unix socket to define a spice graphics,
> the command 'domdisplay' showed that the settings were not supported. Now,
> the command shows the proper URL: spice+unix://foo/bar.sock.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1336720
> 
> Signed-off-by: Julio Faracco <jcfaracco at gmail.com>
> ---
>  tools/virsh-domain.c | 49 ++++++++++++++++++++++++++++++++++++++-----------
>  1 file changed, 38 insertions(+), 11 deletions(-)

Hey, this looks roughly okay. But, the changes you made cause a small
problem:

./tools/virsh domdisplay --all fedora
vnc://localhost:0
spice+unix:///tmp/spice.sock
rdp+unix://(null)

And I don't have any RDP configured for my domain. I only have vnc and
spice. Can you please look into that and send v2? Thanks.

Michal




More information about the libvir-list mailing list