[libvirt] [PATCH] virsh: domain: Fix output of the VNC display number for domdisplay

Jiri Denemark jdenemar at redhat.com
Tue May 13 09:32:31 UTC 2014


On Tue, May 13, 2014 at 11:32:03 +0200, Peter Krempa wrote:
> Commit 9976c4b9a665f10ab0d2071954efb7f432d194eb broke the output for VNC
> displays as the port number is converted to VNC display number by
> subtracting 5900. This yields port 0 for the first display and thus the
> output would be skipped.
> 
> Before:
>  $ virsh domdisplay VM
>  vnc://localhost
> 
> After:
>  $ tools/virsh domdisplay VM
>  vnc://localhost:0
> ---
>  tools/virsh-domain.c | 15 ++++++++-------
>  1 file changed, 8 insertions(+), 7 deletions(-)

ACK

Jirka




More information about the libvir-list mailing list