On Wed, 2014-02-26 at 15:00 +0100, Olaf Hering wrote:
> On Wed, Feb 26, Ian Campbell wrote:
>
> > 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>
> > > 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...).
>
> I learned yesterday this should be "serial" instead of
"console", maybe
> it fixes also your case.
My understanding was that this was for HVM guests, whereas ARM has a PV
console but I suppose I should try it anyway. I've got a flight to catch
so it'll be a few days I expect.
Yep, if ARM has a PV console, then we'd need to add tiny bit to the XML
to allow us to configure that explicitly, similar to how we do for KVM's
virtio-console support.
Regards,
Daniel
--
|: