Re: Add 'console' and 'vncdisplay' commands to virsh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 26, 2007 at 02:58:27AM +0000, Daniel P. Berrange wrote:
> 
> The attached patch adds two new commands to virsh:
> 
>  - console  - connects to the guest's serial console
>  - vncdisplay - outputs the ip address & port number of a guest vnc display
> 
> The former is another stage in eliminating the need to run 'xm' - replacing
> the Xen specific 'xm console' code, with the added advantage of working
> with any libvirt backend driver.

  Very cool. I wonder if we should not move out virsh specific code to
a new separate subdir, like for the proxy to clean things up a bit in src/

> The vncdisplay is intended to make it easier for people to launch a
> VNC viewer process. It prints out a IP address & port number in a format
> suitable for passing to vncviewer on the command line, eg
> 
>    vncviewer `virsh vncdisplay myguest`

  Okay, the other option would have been to fork vncviewer directly,
but that's more generic. Seems however that would be incomplete if connecting
to a remote xend, but that's something we should be able to do properly
once we have remote support integrated.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]