]> 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)
commit721797f5644334b756986171cc845048a1a8cf92
treec42c95baf81361429edc47a0d4909190672db073
parentcb44a75069183ea4b536ef4301a31057b4360718
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