[v9 3/6] vhost: update vhost_user crypto session parameters

Maxime Coquelin maxime.coquelin at redhat.com
Mon Mar 3 10:45:13 CET 2025



On 2/28/25 2:47 PM, Gowrishankar Muthukrishnan wrote:
> As per requirements on vhost_user spec, session id should be
> located at the end of session parameter.
> 
> Update VhostUserCryptoSessionParam structure to support newer QEMU
> versions (v9). Due to additional parameters added in QEMU,
> received payload from QEMU would be larger than existing payload.
> Hence, it would break parsing vhost_user messages.
> 
> This patch addresses both of the above problems.
> 
> Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn at marvell.com>
> Acked-by: Akhil Goyal <gakhil at marvell.com>
> ---
>   lib/vhost/vhost_crypto.c | 12 ++++++------
>   lib/vhost/vhost_user.h   | 33 +++++++++++++++++++++++++++++----
>   2 files changed, 35 insertions(+), 10 deletions(-)
> 

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

Thanks,
Maxime



More information about the dev mailing list