Skip to content

target-i386: move CPU object creation to cpu.c

Eduardo Habkost qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2target-i386: move CPU object creation to cpu.ctarget-i386/cpu.c target-i386/cpu.h target-i386/helper.c+16 -123 replies
2/2target-i386: make cpu_x86_create() get Error argumenttarget-i386/cpu.c target-i386/cpu.h target-i386/helper.c+21 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] target-i386: move CPU object creation to cpu.c

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(-)
Signature · 1 line
1.7.11.7