]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Simplify the initialization of nested_vmx_msrs
authorChenyi Qiang <chenyi.qiang@intel.com>
Fri, 28 Aug 2020 08:56:22 +0000 (16:56 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Sep 2020 11:57:07 +0000 (07:57 -0400)
commitaaa57bc441a15da29f0729e6f50f0118b6945e83
tree143cd7312f16592f0d9a0887f690b87959ec842a
parent93531ba5cd46f76f1c5f9941e2c8bb361c0429fb
KVM: nVMX: Simplify the initialization of nested_vmx_msrs

The nested VMX controls MSRs can be initialized by the global capability
values stored in vmcs_config.

Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Message-Id: <20200828085622.8365-6-chenyi.qiang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c