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 <gmuthukri...@marvell.com>
Acked-by: Akhil Goyal <gak...@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.coque...@redhat.com>

Thanks,
Maxime

Reply via email to