Re: [PATCH 4/6] vhost: refactor VDUSE reconnection log mapping

2024-10-24 Thread David Marchand
On Wed, Oct 23, 2024 at 9:04 PM Maxime Coquelin wrote: > >> +static int > >> +vduse_reconnect_log_map(const char *dev_name, struct vhost_reconnect_data > >> **reco_log, bool create) > > > > You can pass struct virtio_net *dev instead of patch 6. > > At patch 4, the struct virtio_net *dev has not

Re: [PATCH 4/6] vhost: refactor VDUSE reconnection log mapping

2024-10-23 Thread Maxime Coquelin
On 10/23/24 18:07, David Marchand wrote: On Wed, Oct 23, 2024 at 5:16 PM Maxime Coquelin wrote: This patch moves the VDUSE reconnection log mapping, as well as creation if needed, into a dedicated function. This is a preliminary rework to simplify VDUSE device creation. Signed-off-by: Max

Re: [PATCH 4/6] vhost: refactor VDUSE reconnection log mapping

2024-10-23 Thread David Marchand
On Wed, Oct 23, 2024 at 5:16 PM Maxime Coquelin wrote: > > This patch moves the VDUSE reconnection log mapping, as > well as creation if needed, into a dedicated function. > > This is a preliminary rework to simplify VDUSE device > creation. > > Signed-off-by: Maxime Coquelin > --- > lib/vhost/v

[PATCH 4/6] vhost: refactor VDUSE reconnection log mapping

2024-10-23 Thread Maxime Coquelin
This patch moves the VDUSE reconnection log mapping, as well as creation if needed, into a dedicated function. This is a preliminary rework to simplify VDUSE device creation. Signed-off-by: Maxime Coquelin --- lib/vhost/vduse.c | 138 +- 1 file change