]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "KVM: nested VMX: disable perf cpuid reporting"
authorJim Mattson <jmattson@google.com>
Wed, 21 Dec 2016 00:34:50 +0000 (16:34 -0800)
committerRadim Krčmář <rkrcmar@redhat.com>
Fri, 20 Jan 2017 21:18:55 +0000 (22:18 +0100)
commita1023d012c9389696c369b2bf5f0b3d8331649ad
treeefb6284f35c686b043c93ef0d251b979f9b367a5
parent1a388b51a112c71a79ebe5e72d7855a5f9685e43
Revert "KVM: nested VMX: disable perf cpuid reporting"

This reverts commit 972f898c598fbe903bd1265a748e3c31d3c44362.

A CPUID instruction executed in VMX non-root mode always causes a
VM-exit, regardless of the leaf being queried.

Fixes: 972f898c598f ("KVM: nested VMX: disable perf cpuid reporting")
Signed-off-by: Jim Mattson <jmattson@google.com>
[The issue solved by 972f898c598f has been resolved with 5013262e3e0f
 ("KVM: nVMX: Add nested msr load/restore algorithm").]
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/cpuid.c
arch/x86/kvm/vmx.c