Messages in this thread | | | From | Dexuan Cui <> | Subject | RE: [PATCH v2 5/6] x86/hyperv: Support hypercalls for TDX guests | Date | Mon, 12 Dec 2022 19:10:49 +0000 |
| |
> From: Michael Kelley (LINUX) <mikelley@microsoft.com> > Sent: Monday, December 12, 2022 8:39 AM > > [...] > > A TDX guest uses the GHCI call rather than hv_hypercall_pg. > > > > In hv_do_hypercall(), Hyper-V requires that the input/output addresses > > must have the cc_mask. > > Is it a requirement that the input/output addresses refer to guest memory > pages that have marked as shared/decrypted? For example, I don't see
Yes.
> any code to mark the hyperv_pcpu_input_arg page as shared/decrypted. > Do the use cases for the hyperv_pcpu_input_arg page just not occur in a > TDX VM?
I missed this when sending v2, and I realized this when testing DDA. Will get this fixed in v3.
BTW, I noticed Tianyu posted a similar patch: [RFC PATCH V2 10/18] drivers: hv: Decrypt percpu hvcall input arg page in sev-snp enlightened guest
| |