
On Wed, 2014-02-26 at 12:37 +0000, Daniel P. Berrange wrote:
On Wed, Feb 26, 2014 at 12:34:17PM +0000, Ian Campbell wrote:
Currently virsh console fails with: Connected to domain libvirt-test Escape character is ^] error: internal error: cannot find character device <null>
I haven't investigated yet.
That'll be because no <console> or <serial> device is listed in your config above I expect. Also looks like bogus error handling in the console API, not checking for <null>.
Thanks. I've just tried (inside <devices>...</...>): <console tty='/dev/pts/5'/> and <console type='pty'> <target port='0'/> </console> which I gleaned from http://libvirt.org/drvxen.html but neither seem to do the trick (and the first ones use of an explicit pts looks odd to me...).
ACK
Thanks. Ian.