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

Handle_vmon is split into two parts: the part that handles the VMXON
instruction, and the part that modifies the vcpu state to transition
from legacy mode to VMX operation. The latter will be used when
restoring the checkpointed state of a vCPU that was in VMX operation
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