OSDN Git Service

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)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 11:34:26 +0000 (12:34 +0100)
commit71d9409e20934e16f2d2ea88f0d1fb9851a7da3b
tree7d1c8821d69f8680214005487fca54f64dd53fba
parent4cebd747d78559d1e8666d3e68a75f08966abc0c
KVM: VMX: Move caching of MSR_IA32_XSS to hardware_setup()

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>
arch/x86/kvm/vmx/vmx.c