[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 5/8] device/virtio-nsm: Support for Nitro Secure Module de
From: |
Michael S. Tsirkin |
Subject: |
Re: [PATCH v6 5/8] device/virtio-nsm: Support for Nitro Secure Module device |
Date: |
Sun, 15 Sep 2024 16:09:37 -0400 |
On Mon, Sep 16, 2024 at 01:46:52AM +0600, Dorjoy Chowdhury wrote:
> > + len = cbor_serialize(root, response->iov_base, response->iov_len);
>
> As far as I can tell, all these also need to be switched to use
> iov_from_buf.
>
>
> Sorry I didn't understand this. The iovecs passed in these functions are not
> the iovecs from virtqueue. We make an iovec for the response and then pass it
> down. We do the "iov_from_buf" after calling "get_nsm_request_response" in
> "handle_input" function. Am I missing something?
>
> Regards,
> Dorjoy
Oh, I misunderstood. Passing in a pointer and length might be clearer.
Not critical.
--
MST
- [PATCH v6 2/8] crypto: Support SHA384 hash when using glib, (continued)
- [PATCH v6 2/8] crypto: Support SHA384 hash when using glib, Dorjoy Chowdhury, 2024/09/05
- [PATCH v6 1/8] crypto: Define macros for hash algorithm digest lengths, Dorjoy Chowdhury, 2024/09/05
- [PATCH v6 3/8] crypto: Introduce x509 utils, Dorjoy Chowdhury, 2024/09/05
- [PATCH v6 4/8] tests/lcitool: Update libvirt-ci and add libcbor dependency, Dorjoy Chowdhury, 2024/09/05
- [PATCH v6 5/8] device/virtio-nsm: Support for Nitro Secure Module device, Dorjoy Chowdhury, 2024/09/05
- Re: [PATCH v6 5/8] device/virtio-nsm: Support for Nitro Secure Module device, Michael S. Tsirkin, 2024/09/15
- [PATCH v6 6/8] hw/core: Add Enclave Image Format (EIF) related helpers, Dorjoy Chowdhury, 2024/09/05
- [PATCH v6 7/8] machine/nitro-enclave: New machine type for AWS Nitro Enclaves, Dorjoy Chowdhury, 2024/09/05
- [PATCH v6 8/8] docs/nitro-enclave: Documentation for nitro-enclave machine type, Dorjoy Chowdhury, 2024/09/05
- Re: [PATCH v6 0/8] AWS Nitro Enclave emulation support, Daniel P . Berrangé, 2024/09/06
- Re: [PATCH v6 0/8] AWS Nitro Enclave emulation support, Dorjoy Chowdhury, 2024/09/15