]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Add support for rdtscp
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 23 Mar 2015 18:27:19 +0000 (19:27 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 27 Mar 2015 01:33:48 +0000 (22:33 -0300)
commit16e4c5a2fe513ba90b26c5fb4731338ae561758a
tree06274a7539be9a341986e4678edf6b90e702c672
parent25441361357133abb916318f7119dbb09a3776dc
KVM: nVMX: Add support for rdtscp

If the guest CPU is supposed to support rdtscp and the host has rdtscp
enabled in the secondary execution controls, we can also expose this
feature to L1. Just extend nested_vmx_exit_handled to properly route
EXIT_REASON_RDTSCP.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/uapi/asm/vmx.h
arch/x86/kvm/vmx.c