unicorn/qemu/hw
Eduardo Habkost f424e16f24
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.

Backports commit 2a923a293df95334fa22634016efdd138f49da7f from qemu
2018-03-01 23:49:04 -05:00
..
arm qemu-common: push cpu.h inclusion out of qemu-common.h 2018-02-24 01:50:56 -05:00
core qdev: Fix object reference leak in case device.realize() fails 2018-02-25 21:00:26 -05:00
i386 i386: Remove AMD feature flag aliases from Opteron models 2018-03-01 23:49:04 -05:00
intc qemu-common: push cpu.h inclusion out of qemu-common.h 2018-02-24 01:50:56 -05:00
m68k qemu-common: push cpu.h inclusion out of qemu-common.h 2018-02-24 01:50:56 -05:00
mips qemu-common: push cpu.h inclusion out of qemu-common.h 2018-02-24 01:50:56 -05:00
sparc hw: explicitly include qemu-common.h and cpu.h 2018-02-21 23:15:09 -05:00
sparc64 util: move declarations out of qemu-common.h 2018-02-22 09:25:48 -05:00
Makefile.objs