i386: kvm: use a #define for the set of alias feature bits
commit8fad4b44a0f71cd404f95f109657c0ccbf11f8f9
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 6 Sep 2012 10:05:36 +0000 (6 10:05 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 30 Sep 2012 11:11:00 +0000 (30 11:11 +0000)
tree319716bd1abf4434d51a6c41d9330bca6b292489
parentb1f4679392a03f2b26a37bfa52e95d6cc4f73d82
i386: kvm: use a #define for the set of alias feature bits

Instea of using a hardcoded hex constant, define CPUID_EXT2_AMD_ALIASES
as the set of CPUID[8000_0001].EDX bits that on AMD are the same as the
bits of CPUID[1].EDX.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-By: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Don Slutz <Don@CloudSwitch.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-i386/cpu.h
target-i386/kvm.c