[Libvir] [PATCH] add a ttyconsole command

Richard W.M. Jones rjones at redhat.com
Wed Jul 25 14:24:15 UTC 2007


Daniel Veillard wrote:
>  It was pointed out that we have a vncdisplay command but none for
> extracting the TTY console device:
> 
>   https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239687
> 
> the trivial associated patch adds it as well as the doc in the man page

I wonder if it should print some error message if the <console> node 
doesn't exist?  I tried your patch on a FV domain, before remembering 
that FV domains don't have consoles, and it prints an empty line (but 
the return code is 1, which is good):

$ src/.libs/virsh ttyconsole debian32fv

$ echo $?
1

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070725/2a8b1194/attachment-0001.bin>


More information about the libvir-list mailing list