Re: [PATCH v3 2/2] tools/xenstore: simplify xenstored main loop

2021-05-18 Thread Julien Grall
Hi Juergen, On 18/05/2021 07:19, Juergen Gross wrote: The main loop of xenstored is rather complicated due to different handling of socket and ring-page interfaces. Unify that handling by introducing interface type specific functions can_read() and can_write(). Take the opportunity to remove th

[PATCH v3 2/2] tools/xenstore: simplify xenstored main loop

2021-05-17 Thread Juergen Gross
The main loop of xenstored is rather complicated due to different handling of socket and ring-page interfaces. Unify that handling by introducing interface type specific functions can_read() and can_write(). Take the opportunity to remove the empty list check before calling write_messages() becaus