Re: [PATCH 3/7] vhost: make use of FD manager init function

2024-02-29 Thread David Marchand
On Thu, Feb 29, 2024 at 1:25 PM Maxime Coquelin wrote: > > Instead of statically initialize the fdset, this patch > converts VDUSE and Vhost-user to use fdset_init() function, > which now also initialize the mutexes. > > This is preliminary rework to hide FDs manager pipe from > its users. > > Sig

[PATCH 3/7] vhost: make use of FD manager init function

2024-02-29 Thread Maxime Coquelin
Instead of statically initialize the fdset, this patch converts VDUSE and Vhost-user to use fdset_init() function, which now also initialize the mutexes. This is preliminary rework to hide FDs manager pipe from its users. Signed-off-by: Maxime Coquelin --- lib/vhost/fd_man.c | 9 +++-- lib