Re: [Part2 PATCH v5 31/31] KVM: X86: Restart the guest when insn_len is zero and SEV is enabled

From: Paolo Bonzini
Date: Wed Oct 18 2017 - 09:01:05 EST


On 18/10/2017 14:19, Brijesh Singh wrote:
>> Is it needed to test mem_enc_enabled? Could it instead test for the
>> availability of decode assists?
>
> We can use X86_FEATURE_DECODEASSIST but since mmu.c is common file hence
> I was not sure if its safe for the VMX. Is it okay to use decode assist
> feature bit in mm.c ?

See the follow up email. :)

Paolo