Re: [PATCH 50/62] x86/sev-es: Handle VMMCALL Events

From: Andy Lutomirski
Date: Tue Feb 11 2020 - 19:15:14 EST




> On Feb 11, 2020, at 5:53 AM, Joerg Roedel <joro@xxxxxxxxxx> wrote:
>
> ïFrom: Tom Lendacky <thomas.lendacky@xxxxxxx>
>
> Implement a handler for #VC exceptions caused by VMMCALL instructions.
> This patch is only a starting point, VMMCALL emulation under SEV-ES
> needs further hypervisor-specific changes to provide additional state.
>

How about we just donât do VMMCALL if weâre a SEV-ES guest? Otherwise we add thousands of cycles of extra latency for no good reason.