]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: VMX: Move caching of MSR_IA32_XSS to hardware_setup()
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 3 Dec 2018 21:52:59 +0000 (13:52 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Feb 2023 11:47:14 +0000 (12:47 +0100)
commita980cbd1579b38aba42fff81208bb8a0fbd8c984
tree78790002a78be59d228f3b8300bed29d21176757
parent8e7112eafec5bedadb62bb60ed24a92e74e2f781
KVM: VMX: Move caching of MSR_IA32_XSS to hardware_setup()

[ Upstream commit 71d9409e20934e16f2d2ea88f0d1fb9851a7da3b ]

MSR_IA32_XSS has no relation to the VMCS whatsoever, it doesn't belong
in setup_vmcs_config() and its reference to host_xss prevents moving
setup_vmcs_config() to a dedicated file.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Stable-dep-of: a44b331614e6 ("KVM: x86/vmx: Do not skip segment attributes if unusable bit is set")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kvm/vmx/vmx.c