Re: [PATCH] KVM: SVM: Explicitly require FLUSHBYASID to enable SEV support

From: Sean Christopherson
Date: Thu Nov 30 2023 - 20:56:37 EST


On Wed, 18 Oct 2023 12:36:17 -0700, Sean Christopherson wrote:
> Add a sanity check that FLUSHBYASID is available if SEV is supported in
> hardware, as SEV (and beyond) guests are bound to a single ASID, i.e. KVM
> can't "flush" by assigning a new, fresh ASID to the guest. If FLUSHBYASID
> isn't supported for some bizarre reason, KVM would completely fail to do
> TLB flushes for SEV+ guests (see pre_svm_run() and pre_sev_run()).
>
>
> [...]

Applied to kvm-x86 svm, thanks!

[1/1] KVM: SVM: Explicitly require FLUSHBYASID to enable SEV support
https://github.com/kvm-x86/linux/commit/770d6aa2e416

--
https://github.com/kvm-x86/linux/tree/next