Re: [PATCH v8 14/20] KVM: x86: Move KVM_SUPPORTED_{XCR0,XSS} into kvm_x86_vendor_init()
From: Jim Mattson
Date: Thu Nov 05 2026 - 23:59:06 EST
On Wed, Sep 30, 2026 at 2:38 PM Chang S. Bae <chang.seok.bae@xxxxxxxxx> wrote:
>
> From: Sean Christopherson <seanjc@xxxxxxxxxx>
>
> Move KVM_SUPPORTED_{XCR0,XSS} into kvm_x86_vendor_init() as "const u64"
> values so that KVM's initialization code can further manipulate the set
> of supported XCR0/XSS features without ugly #ifdeffery and without
> risking other code treating KVM_SUPPORTED_{XCR0,XSS} as 100%
> authoritative.
>
> No functional change intended.
>
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
> Signed-off-by: Chang S. Bae <chang.seok.bae@xxxxxxxxx>
> Link: https://lore.kernel.org/ahmtyMNsj2BCoEEo@xxxxxxxxxx
Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>