summaryrefslogtreecommitdiff
path: root/bt-vhci.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2017-01-13 17:00:57 -0200
committerEduardo Habkost <ehabkost@redhat.com>2017-01-23 21:25:33 -0200
commit2a923a293df95334fa22634016efdd138f49da7f (patch)
tree2b0f0830f152fc0b358ae86e4eb4a856aed2b127 /bt-vhci.c
parentf77543772dcd38fa438470d9b80bafbd3a3ebbd7 (diff)
downloadqemu-2a923a293df95334fa22634016efdd138f49da7f.zip
i386: Remove AMD feature flag aliases from Opteron models
When CPU vendor is set to AMD, the AMD feature alias bits on CPUID[0x80000001].EDX are already automatically copied from CPUID[1].EDX on x86_cpu_realizefn(). When CPU vendor is Intel, those bits are reserved and should be zero. On either case, those bits shouldn't be set in the CPU model table. Commit 726a8ff68677d8d5fba17eb0ffb85076bfb598dc removed those bits from most CPU models, but the Opteron_* entries still have them. Remove the alias bits from Opteron_* too. Add an assert() to x86_register_cpudef_type() to ensure we don't make the same mistake again. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20170113190057.6327-1-ehabkost@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'bt-vhci.c')
0 files changed, 0 insertions, 0 deletions