KVM: VMX: introduce alloc_loaded_vmcs
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Jan 2018 11:16:15 +0000 (12:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Feb 2018 19:12:21 +0000 (11:12 -0800)
commit92f4b68ed14c7731cadd5bf7501a98da5302c093
tree8e7f11aad8b54ac0cc12ee960465132536bdc626
parent2e9521197f08d8cec826d3a5ff04131e40a79120
KVM: VMX: introduce alloc_loaded_vmcs

commit f21f165ef922c2146cc5bdc620f542953c41714b

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/vmx.c