KVM: nVMX: single function for switching between vmcs
authorDavid Hildenbrand <david@redhat.com>
Mon, 20 Mar 2017 09:00:08 +0000 (10:00 +0100)
committerRadim Krčmář <rkrcmar@redhat.com>
Fri, 7 Apr 2017 14:49:00 +0000 (16:49 +0200)
commit1279a6b124e4c93fac161dd3e481a24a423551c0
treec1565df7d74e7911ee5c6248bce3ec2cf4783774
parentf0b98c02c18a3c76ccf359478f68c9bae81b5f78
KVM: nVMX: single function for switching between vmcs

Let's combine it in a single function vmx_switch_vmcs().

Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c