On Wed, Mar 22, 2023 at 08:29:39AM +0100, Juergen Gross wrote: > Instead of duplicating libxl__device_console_add() work in > init-xenstore-domain.c, just use libxenlight. > > This requires to add a small wrapper function to libxenlight, as > libxl__device_console_add() is an internal function. > > This at once removes a theoretical race between starting xenconsoled > and xenstore-stubdom, as the old code wasn't using a single > transaction for writing all the entries, leading to the possibility > that xenconsoled would see only some of the entries being written. > > Signed-off-by: Juergen Gross <[email protected]>
Reviewed-by: Anthony PERARD <[email protected]> Thanks, -- Anthony PERARD
