Re: [PATCH v2] xen/consoled: clean up console handling for PV shim

2025-02-25 Thread Jan Beulich
On 23.02.2025 00:58, dm...@proton.me wrote: > --- a/xen/common/domain.c > +++ b/xen/common/domain.c > @@ -46,6 +46,7 @@ > > #ifdef CONFIG_X86 > #include > +#include > #endif This change isn't needed. It's the purpose of asm/guest.h to include, among other headers, asm/pv/shim.h. > @@ -562,

[PATCH v2] xen/consoled: clean up console handling for PV shim

2025-02-22 Thread dmkhn
From: Denis Mukhin There are few places which check pv_shim console under CONFIG_PV_SHIM or CONFIG_X86 in xen console driver. Instead of inconsistent #ifdef-ing, introduce and use consoled_is_enabled() in switch_serial_input() and __serial_rx(). PV shim case is fixed in __serial_rx() - should b