13.02.2025 14:45, Alexander Graf wrote:
When we return a response packet from NSM, we need to indicate its
length according to the content of the response. Prior to this patch, we
returned the length of the source buffer, which may confuse guest code
that relies on the response size.
Fix it by returning the response payload size instead.
Fixes: bb154e3e0cc715 ("device/virtio-nsm: Support for Nitro Secure Module
device")
Reported-by: Vikrant Garg <vikrant1g...@gmail.com>
Signed-off-by: Alexander Graf <g...@amazon.com>
This looks like qemu-stable material (9.2.x).
Please let me know if it is not.
Thanks,
/mjt