]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: nVMX: Refactor handle_vmptrld()
authorJim Mattson <jmattson@google.com>
Wed, 30 Nov 2016 20:03:44 +0000 (12:03 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Feb 2017 13:54:37 +0000 (14:54 +0100)
commit8d0a4f156b39bce9da5d8eca6622e6e52accfe27
treef1b4b48c744898afd890212046c833e7c116746f
parente20b14c7c149ea39d03f31d9725a46ae3023f5b4
kvm: nVMX: Refactor handle_vmptrld()

Handle_vmptrld is split into two parts: the part that handles the
VMPTRLD instruction, and the part that establishes the current VMCS
pointer.  The latter will be used when restoring the checkpointed state
of a vCPU that had a valid VMCS pointer when a snapshot was taken.

Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c