[PATCH v15 4/5] vhost: add mem region add/remove handlers

Maxime Coquelin maxime.coquelin at redhat.com
Fri Jun 5 13:32:12 CEST 2026


On Fri, Jun 5, 2026 at 1:58 AM <pravin.bathija at dell.com> wrote:
>
> From: Pravin M Bathija <pravin.bathija at dell.com>
>
> Add support for VHOST_USER_ADD_MEM_REG, VHOST_USER_REM_MEM_REG and
> VHOST_USER_GET_MAX_MEM_SLOTS. Refactor memory initialization into
> common helper and add supporting functions for dynamic memory management.
>
> Signed-off-by: Pravin M Bathija <pravin.bathija at dell.com>
> ---
>  lib/vhost/vhost_user.c | 253 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 253 insertions(+)
>

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list