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

2014-05-13 Thread Peter Krempa
On 05/13/14 11:32, Jiri Denemark wrote: > 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 firs

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

2014-05-13 Thread Jiri Denemark
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 skip

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

2014-05-13 Thread Peter Krempa
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: $ too