On 04.01.2025 02:58, Denis Mukhin via B4 Relay wrote: > @@ -529,14 +532,18 @@ static void switch_serial_input(void) > > static void __serial_rx(char c) > { > + struct domain *d; > int rc = 0; > > - switch ( console_rx ) > - { > - case 0: > + if ( console_rx == 0 ) > return handle_keypress(c, false); > > - case 1: > + d = console_get_domain(); > + if ( !d ) > + return; > + > + if ( is_hardware_domain(d) ) > + { > /* > * Deliver input to the hardware domain buffer, unless it is > * already full.
Isn't this a (desirable) functional change for late-hwdom, which runs with domid different from 0? Such a bug-fix-like change wants calling out in the description, I think. Jan