On 16.01.2026 22:07, Stefano Stabellini wrote:
> On Tue, 13 Jan 2026, Stefano Stabellini wrote:
>> Allow multiple dom0less domains to use the console_io hypercalls to
>> print to the console. Handle them in a similar way to vpl011: only the
>> domain which has focus can read from the console. All domains can write
>> to the console but the ones without focus have a prefix. In this case
>> the prefix is applied by using guest_printk instead of printk or
>> console_puts which is what the original code was already doing.
>>
>> When switching focus using Ctrl-AAA, discard any unread data in the
>> input buffer. Input is read quickly and the user would be aware of it
>> being slow or stuck as they use Ctrl-AAA to switch focus domain.
>> In that situation, it is to be expected that the unread input is lost.
>>
>> The domain writes are buffered when the domain is not in focus. Push out
>> the buffer when the domain enters focus.
>>
>> Add the console_lock around serial_rx_cons modifications to protect it
>> against concurrent writes to it.
>>
>> Signed-off-by: Stefano Stabellini <[email protected]>
> 
> Ping?

I'm sorry to ask, but doesn't this come a little early? (I for one simply
haven't found time yet to look at the v3 of this.)

Jan

Reply via email to