[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CABgObfYYm_xwEFjNx0jzaVg2R6s1D5EWC2T6Fx-d++8=6nvm1g@mail.gmail.com>
Date: Fri, 10 May 2024 16:50:24 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Sean Christopherson <seanjc@...gle.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/3] KVM: x86: Fix supported VM_TYPES caps
On Tue, Apr 23, 2024 at 6:53 PM Sean Christopherson <seanjc@...gle.com> wrote:
>
> Fix a goof where KVM fails to re-initialize the set of supported VM types,
> resulting in KVM overreporting the set of supported types when a vendor
> module is reloaded with incompatible settings. E.g. unload kvm-intel.ko,
> reload with ept=0, and KVM will incorrectly treat SW_PROTECTED_VM as
> supported.
>
> Fix a similar long-standing bug with supported_mce_cap that is much less
> benign, and then harden against us making the same mistake in the future.
>
> Sean Christopherson (3):
> KVM: x86: Fully re-initialize supported_vm_types on vendor module load
> KVM: x86: Fully re-initialize supported_mce_cap on vendor module load
> KVM: x86: Explicitly zero kvm_caps during vendor module load
Applied, thanks.
Paolo
Powered by blists - more mailing lists