Re: [PATCH] vhost: restrict set max queue pair API to VDUSE

2024-10-02 Thread David Marchand
On Wed, Oct 2, 2024 at 4:42 PM Maxime Coquelin wrote: > > In order to avoid breaking Vhost-user live-migration, we want the > rte_vhost_driver_set_max_queue_num API to only be effective with > VDUSE. > > Furthermore, this API is only really needed for VDUSE where the > device number of queues is d

[PATCH] vhost: restrict set max queue pair API to VDUSE

2024-10-02 Thread Maxime Coquelin
In order to avoid breaking Vhost-user live-migration, we want the rte_vhost_driver_set_max_queue_num API to only be effective with VDUSE. Furthermore, this API is only really needed for VDUSE where the device number of queues is defined by the backend. For Vhost-user, this is defined by the fronte