]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Fully support nested VMX preemption timer
authorArthur Chunqi Li <yzt356@gmail.com>
Mon, 16 Sep 2013 08:11:44 +0000 (16:11 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Oct 2013 16:22:54 +0000 (18:22 +0200)
commit582c6db73e91cc6e429bdebbcf4357eca3212ebc
tree514f0a7a9e0bb345a371a4288d0ab2318cb4a7a3
parentfb9219847a355c7588575b70d1dd780b1cecbba8
KVM: nVMX: Fully support nested VMX preemption timer

This patch contains the following two changes:
1. Fix the bug in nested preemption timer support. If vmexit L2->L0
with some reasons not emulated by L1, preemption timer value should
be save in such exits.
2. Add support of "Save VMX-preemption timer value" VM-Exit controls
to nVMX.

With this patch, nested VMX preemption timer features are fully
supported.

Signed-off-by: Arthur Chunqi Li <yzt356@gmail.com>
Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/uapi/asm/msr-index.h
arch/x86/kvm/vmx.c