x86: cpuid: reconstruct leaf 0Dh data
commit2560f19f426aceb4f2e809d860b93e7573cb1c4e
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 2 Oct 2013 15:54:57 +0000 (2 17:54 +0200)
committerGleb Natapov <gleb@redhat.com>
Wed, 2 Oct 2013 15:58:27 +0000 (2 18:58 +0300)
treefb2d96a9cf3505c44e14d3daebeaa0b77a5a252c
parentc74f41bbcc83d12787ac42f2c74fc2be54e9f222
x86: cpuid: reconstruct leaf 0Dh data

The data in leaf 0Dh depends on information from other feature bits.
Instead of passing it blindly from the host, compute it based on
whether these feature bits are enabled.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
target-i386/cpu.c