]> 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)
commitff5b65e408308c75c616091141bf2bf25902edd4
tree06274a7539be9a341986e4678edf6b90e702c672
parent83d8725df6968fc873b6a86ddcd189f09fb9529e
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