On Mon, Sep 08, 2025 at 11:37:03AM +0300, Mykola Kvach wrote:
> > --- a/xen/common/emul/vuart/Kconfig
> > +++ b/xen/common/emul/vuart/Kconfig
> > @@ -3,4 +3,23 @@ config VUART_FRAMEWORK
> >
> >  menu "UART Emulation"
> >
> > +config VUART_NS16X50
> > +       bool "NS16550-compatible UART Emulator" if EXPERT
> > +       depends on X86 && HVM
> 
> Currently VUART_NS16X50 depends on X86, so the code is only
> usable on x86. Are there any plans to support this vUART on non-x86
> architectures (e.g. ARM, where some UARTs are also ns16550-compatible)?

The plan is to add MMIO-based implementation for x86 first.

> 
> If not, wouldn’t it be more appropriate to move the ns16x50-specific
> implementation into x86-specific directories instead of common?

There was discussion on that and the agreement is to move all vUARTs into
  common/emul/vuart

and start using common/emul as a placeholder for common emulation code,
including vPCI.

Reply via email to