NetBSD-Users archive

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

Re: Xen dom0 serial console is xencons(4)



On Mon, May 26, 2025 at 02:44:30PM -0700, Greg A. Woods wrote:
> At Sat, 24 May 2025 13:38:22 +0200, Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
> Subject: Re: Xen 4.18.5_20250521nb0 not ELF binary (Was: Re: EFI and Xen)
> >
> > BTW, as you're using a serial console you probably want
> > console=com0
> > for NetBSD
> 
> One never wants NetBSD/Xen dom0 kernel to directly try to use the serial
> hardware device as its console.
> 
> Xen normally "owns" the serial hardware device after it boots, and it
> connects it bidirectionally to the dom0's xencons(4) device [note there
> is no such manual page in NetBSD yet].

Note that for NetBSD/Xen, com0 and xencons are equivalent. In fact, anything
that is not "pc" or "tty0" will use xencons. See xen/x86/consinit.c

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index