> From: "Prasad Pandit"<[email protected]>
> Date: Tue, Aug 27, 2024, 20:37
> Subject: Re: [PATCH v3] vhost-user: Do not wait for reply for not sent
> VHOST_USER_SET_LOG_BASE
> To: "BillXiang"<[email protected]>
> Cc: "Michael S. Tsirkin"<[email protected]>, <[email protected]>
> On Tue, 27 Aug 2024 at 16:50, BillXiang <[email protected]> wrote:
> > it's better to be consistent to use vhost_user_per_device_request for those
> > per-device messages, right?
>
> * ...consistent to use? Could you please elaborate a little?
>
> Thank you.
> ---
> - Prasad
That was elaborated in commit b931bfbf0429 (" vhost-user: add multiple queue
support ").
We have added vhost_user_one_time_request() to send those per-device messages
only once
for multi-queue device. Which was then changed to
vhost_user_per_device_request() in
commit 0dcb4172f2ce ("vhost-user: Change one_time to per_device request").
And VHOST_USER_SET_LOG_BASE should be one of those per-device messages that only
be sent once for multi-queue device.