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

2021-05-17 Thread Julien Grall
Hi Juergen, On 17/05/2021 07:10, Juergen Gross wrote: On 14.05.21 19:05, Julien Grall wrote: Hi Juergen, On 14/05/2021 12:56, 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

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

2021-05-16 Thread Juergen Gross
On 14.05.21 19:05, Julien Grall wrote: Hi Juergen, On 14/05/2021 12:56, 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_wri

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

2021-05-14 Thread Julien Grall
Hi Juergen, On 14/05/2021 12:56, 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(). Signed-off-by: Juergen Gross ---

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

2021-05-14 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(). Signed-off-by: Juergen Gross --- V2: - split off function vector introduction (Julien Gra