Re: [PATCH] vhost: fix VDUSE devices registration

2025-02-07 Thread Maxime Coquelin
On 1/31/25 2:09 PM, Maxime Coquelin wrote: This patch fixes a regression in vhost_driver_register() causing VDUSE devices registration to fail systematically because the return value was initialized to -1 and not changed later on for this type of devices. Fixes: 4d2aa150769b ("vhost: remove c

Re: [PATCH] vhost: fix VDUSE devices registration

2025-02-06 Thread Ariel Otilibili-Anieli
Hi Maxime, On Wednesday, February 05, 2025 22:18 CET, Maxime Coquelin wrote: > Hi Ariel, > > > Not really :) > Without your patch, ret was assigned by the pthread_mutex_init() return, > so always 0. With your patch, this assignment is removed so ret will > always be -1 for VDUSE devices. > >

Re: [PATCH] vhost: fix VDUSE devices registration

2025-02-06 Thread Chenbo Xia
> On Jan 31, 2025, at 21:09, Maxime Coquelin wrote: > > External email: Use caution opening links or attachments > > > This patch fixes a regression in vhost_driver_register() > causing VDUSE devices registration to fail systematically > because the return value was initialized to -1 and not

Re: [PATCH] vhost: fix VDUSE devices registration

2025-02-05 Thread Maxime Coquelin
Hi Ariel, On 1/31/25 6:34 PM, Ariel Otilibili-Anieli wrote: Hello Maxime, On Friday, January 31, 2025 14:09 CET, Maxime Coquelin wrote: This patch fixes a regression in vhost_driver_register() causing VDUSE devices registration to fail systematically because the return value was initialized

Re: [PATCH] vhost: fix VDUSE devices registration

2025-01-31 Thread Ariel Otilibili-Anieli
Hello Maxime, On Friday, January 31, 2025 14:09 CET, Maxime Coquelin wrote: > This patch fixes a regression in vhost_driver_register() > causing VDUSE devices registration to fail systematically > because the return value was initialized to -1 and not > changed later on for this type of devices