target-i386: Add support for UMIP and RDPID CPUID bits
commitc2f193b538032accb9db504998bf2ea7c0ef65af
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 12 Jul 2016 09:15:44 +0000 (12 11:15 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 20 Jul 2016 15:02:18 +0000 (20 12:02 -0300)
tree4616da52042ae1f65fd8b0657411fe4b24000aa4
parentd89c2b8b98e097b9cad5104b0f178bde1cfa011b
target-i386: Add support for UMIP and RDPID CPUID bits

These are both stored in CPUID[EAX=7,EBX=0].ECX.  KVM is going to
be able to emulate both (albeit with a performance loss in the case
of RDPID, which therefore will be in KVM_GET_EMULATED_CPUID rather
than KVM_GET_SUPPORTED_CPUID).

It's also possible to implement both in TCG, but this is for 2.8.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target-i386/cpu.c
target-i386/cpu.h