Re: [RFC FATCH] x86/Hyper-V: Add SEV negotiate protocol support in Isolation VM.

From: Andrea Parri
Date: Fri Feb 25 2022 - 00:13:10 EST


Nits:

> Hyper-V Isolation VM code uses sev_es_ghcb_hv_call() to read/write MSR
> via ghcb page. The SEV-ES guest should call the sev_es_negotiate_protocol()

ghcb page -> GHCB page

call the sev_es_negotiate_protocol() -> call sev_es_negotiate_protocol()
(or -- call the sev_es_negotiate_protocol() function)

> to negotiate the GHCB protocol version before establishing the GHCB. Call
> sev_es_negotiate_protocol() in the hyperv_init_ghcb().

in the hyperv_init_ghcb() -> in hyperv_init_ghcb()

(similarly elsewhere).

Andrea