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,
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