This small series moves the X86CPU object creation to the cpu.c code, as the object creation will depend on the CPU class lookup, that will be done inside cpu.c.
I expect this to make the x86 CPU subclass work simpler. Maybe it will help simplify some of the CPU properties work, too. Eduardo Habkost (2): target-i386: move CPU object creation to cpu.c target-i386: make cpu_x86_create() get Error argument target-i386/cpu.c | 23 ++++++++++++++++++----- target-i386/cpu.h | 2 +- target-i386/helper.c | 26 ++++++++++++++------------ 3 files changed, 33 insertions(+), 18 deletions(-) -- 1.7.11.7