]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 8 Feb 2018 03:08:34 +0000 (21:08 -0600)
commitb6d7026ddcdbd689ff0c55d28d19602508142173
tree56720a68e3ea93501be93f8a84abd7d294627b55
parent8819227c5c97c03436096a1f41a7d66034630b77
KVM: VMX: introduce alloc_loaded_vmcs

BugLink: http://bugs.launchpad.net/bugs/1748072
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>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/x86/kvm/vmx.c