[libvirt] [PATCH] virsh: domain: Fix output of the VNC display number for domdisplay
Peter Krempa
pkrempa at redhat.com
Tue May 13 09:40:00 UTC 2014
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 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
>
Pushed; Thanks.
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140513/9659afaf/attachment-0001.sig>
More information about the libvir-list
mailing list