confidential-containers / td-shim

Confidential Containers Shim Firmware
Other
97 stars 53 forks source link

tdx-tdcall: use shared GPA for `GetQuote` #529

Closed gaojiaqi7 closed 1 year ago

gaojiaqi7 commented 1 year ago

GHCI takes shared GPA as input for TDG.VP.VMCALL leaf function.

To be compatible with different versions of qemu, add an option to choose whether to use shared GPA.

jyao1 commented 1 year ago

Question: is there any use case that the GPA is private?

gaojiaqi7 commented 1 year ago

It needs to be shared GPA according to GHCI