]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: introduce alloc_loaded_vmcs
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Jan 2018 11:16:15 +0000 (12:16 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 27 Jan 2018 08:43:12 +0000 (09:43 +0100)
commit273f073552b65dc4d080f178162bf572cdf12278
tree9dfef0969447b9925795fb3d2610edaa00b8fc11
parent2843237c7dcc44b87b4cd3511b7b45611ed6d376
KVM: VMX: introduce alloc_loaded_vmcs

Group together the calls to alloc_vmcs and loaded_vmcs_init.  Soon we'll also
allocate an MSR bitmap there.

Cc: stable@vger.kernel.org # prereq for Spectre mitigation
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c