Messages in this thread | | | From | Dionna Amalie Glaze <> | Date | Thu, 27 Apr 2023 18:29:07 -0700 | Subject | Re: [PATCH v2 2/3] virt: tdx-guest: Add Quote generation support |
| |
> > How about the following? > > Although this method reserves a fixed chunk of memory for GetQuote > requests, such one-time allocation is preferable to the alternative > choice of repeatedly allocating/freeing the shared buffer in the > TDX_CMD_GET_QUOTE IOCTL handler, which will damage the direct map (because > the sharing/unsharing process modifies the direct map). This allocation > model is similar to that used by the AMD SEV guest driver. > >
Yes, this is clear, thank you.
-- -Dionna Glaze, PhD (she/her)
| |