[libvirt] Add vncdisplay to virsh list

Daniel P. Berrange berrange at redhat.com
Tue Dec 8 19:56:54 UTC 2009


On Tue, Dec 08, 2009 at 07:08:19PM +0300, ??????? ????? wrote:
> I think adding vncdisplay to virsh list output will be very usefull.
> 
> For example output could be like this:
> 
>  Id Name                 State              Display
> ----------------------------------------------------
>  1 test1                running              :2
>  2 test2                running              :5
>  3 test3                running              :13
>  4 server1              running              n/g
>  5 sdltest              running              sdl
>  - test4                shut off             off
>  - test5                shut off             off
> 
> :n - vnc display number
> n/g - no graphics
> sdl - sdl output
> 
> You can use "--display" to enable it
> 
> command:
> virsh list --all --display
> 
> 
> Also I would like to see "--pretend" option in virt-install.
> Just generate xml and dump it to stdout without doing anything else.

This is not really the right solution to the problem. The user should
not need to know the display number at all. We wrote the virt-viewer
application explictly so that people never have to know/remember the
display in use. You can just do  'virt-viewer GUESTNAME' and it'll
figure it out for you

Regards,
Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list