KVM: x86: emulate RDPID
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 12 Jul 2016 09:04:26 +0000 (11:04 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Dec 2017 08:26:40 +0000 (09:26 +0100)
commitfb6d4d340e0532032c808a9933eaaa7b8de435ab
tree1f9e0f298144cba4793db07ffaafd6228597ee60
parent0367f205a3b7c0efe774634eef1f4697c79a4132
KVM: x86: emulate RDPID

This is encoded as F3 0F C7 /7 with a register argument.  The register
argument is the second array in the group9 GroupDual, while F3 is the
fourth element of a Prefix.

Reviewed-by: Wanpeng Li <wanpeng.li@hotmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/cpuid.c
arch/x86/kvm/emulate.c
arch/x86/kvm/vmx.c