Re: [PATCH v2] KVM: x86: Add a helper to dedup loading guest/host XCR0 and XSS
From: Sean Christopherson
Date: Fri Nov 21 2025 - 13:55:38 EST
On Mon, 10 Nov 2025 13:05:39 +0800, Binbin Wu wrote:
> Add and use a helper, kvm_load_xfeatures(), to dedup the code that loads
> guest/host xfeatures.
>
> Opportunistically return early if X86_CR4_OSXSAVE is not set to reduce
> indentations.
>
> No functional change intended.
>
> [...]
Applied to kvm-x86 misc, thanks!
[1/1] KVM: x86: Add a helper to dedup loading guest/host XCR0 and XSS
https://github.com/kvm-x86/linux/commit/0b28f21ad462
--
https://github.com/kvm-x86/linux/tree/next