Re: [RFC PATCH Hyperlaunch v2] xenconsole: Add connected flag

2024-12-20 Thread Jason Andryuk
On 2024-12-20 08:00, Jan Beulich wrote: On 19.12.2024 23:32, Jason Andryuk wrote: --- a/xen/include/public/io/console.h +++ b/xen/include/public/io/console.h @@ -19,6 +19,19 @@ struct xencons_interface { char out[2048]; XENCONS_RING_IDX in_cons, in_prod; XENCONS_RING_IDX out_co

Re: [RFC PATCH Hyperlaunch v2] xenconsole: Add connected flag

2024-12-20 Thread Jan Beulich
On 19.12.2024 23:32, Jason Andryuk wrote: > --- a/xen/include/public/io/console.h > +++ b/xen/include/public/io/console.h > @@ -19,6 +19,19 @@ struct xencons_interface { > char out[2048]; > XENCONS_RING_IDX in_cons, in_prod; > XENCONS_RING_IDX out_cons, out_prod; > +/* > + * Flag val

[RFC PATCH Hyperlaunch v2] xenconsole: Add connected flag

2024-12-19 Thread Jason Andryuk
Sending again with an expanded description. RFC to have a discussion about the approach. With hyperlaunch, a domU can start before its console ring is connected by xenconsoled. With nothing emptying the ring, it can quickly fill during boot. In domU_write_console(), __write_console returns 0 wh