x86/KVM/VMX: Separate the VMX AUTOLOAD guest/host number accounting
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 21 Jun 2018 02:00:47 +0000 (22:00 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2018 16:14:48 +0000 (18:14 +0200)
commit5d3eaa2d3935e9a5be2dd7186962e72e475d5966
tree7d9476171b20bab7e050b38214d5d3510e81e620
parent1555f9e8ed973df3e4a5aecc37cdb6d48469d366
x86/KVM/VMX: Separate the VMX AUTOLOAD guest/host number accounting

commit 3190709335dd31fe1aeeebfe4ffb6c7624ef971f upstream

This allows to load a different number of MSRs depending on the context:
VMEXIT or VMENTER.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/vmx.c