Re: [PATCH v2 17/35] xen/console: introduce consoled_is_enabled()

2025-01-06 Thread Jan Beulich
On 04.01.2025 04:00, Denis Mukhin wrote: > On Tuesday, December 10th, 2024 at 6:31 AM, Jan Beulich > wrote: > >> >> >> On 06.12.2024 05:41, Denis Mukhin via B4 Relay wrote: >> >>> --- a/xen/drivers/char/consoled.c >>> +++ b/xen/drivers/char/consoled.c >>> @@ -43,13 +43,13 @@ struct xencons_inter

Re: [PATCH v2 17/35] xen/console: introduce consoled_is_enabled()

2025-01-03 Thread Denis Mukhin
On Thursday, December 12th, 2024 at 1:31 AM, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:41:47PM -0800, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > There are few places which check pv_shim console under CONFIG_PV_SHIM in xen > > console driver.

Re: [PATCH v2 17/35] xen/console: introduce consoled_is_enabled()

2025-01-03 Thread Denis Mukhin
On Tuesday, December 10th, 2024 at 6:31 AM, Jan Beulich wrote: > > > On 06.12.2024 05:41, Denis Mukhin via B4 Relay wrote: > > > --- a/xen/drivers/char/consoled.c > > +++ b/xen/drivers/char/consoled.c > > @@ -43,13 +43,13 @@ struct xencons_interface *consoled_get_ring_addr(void) > > static char

Re: [PATCH v2 17/35] xen/console: introduce consoled_is_enabled()

2024-12-12 Thread Roger Pau Monné
On Thu, Dec 05, 2024 at 08:41:47PM -0800, Denis Mukhin via B4 Relay wrote: > From: Denis Mukhin > > There are few places which check pv_shim console under CONFIG_PV_SHIM in xen > console driver. Instead of #ifdef-ing, use new consoled_is_enabled() to > customize the logic. > > Header file now ca

Re: [PATCH v2 17/35] xen/console: introduce consoled_is_enabled()

2024-12-10 Thread Jan Beulich
On 06.12.2024 05:41, Denis Mukhin via B4 Relay wrote: > --- a/xen/drivers/char/consoled.c > +++ b/xen/drivers/char/consoled.c > @@ -43,13 +43,13 @@ struct xencons_interface *consoled_get_ring_addr(void) > static char buf[BUF_SZ + 1]; > > /* Receives characters from a domain's PV console */ > -v