target-i386: move cpu reset and tcg intialization inside CPU object
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | target-i386: drop usage of prev_debug_excp_handlertarget-i386/ | +1 | 2 replies | |
| 2/5 | target-i386: move tcg initialization into x86_cpu_initfn()target-i386/ target-i386/ target-i386/ | +12 | 1 reply | |
| 3/5 | target-i386: call x86_cpu_realize() after APIC is initialized.hw/ target-i386/ | +1 | 11 replies | |
| 4/5 | target-i386: move cpu halted decision into x86_cpu_resethw/ hw/ hw/ +3 more | +27 | 0 replies | |
| 5/5 | target-i386: move cpu_reset and reset callback to cpu.chw/ target-i386/ | +15 | 1 reply |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Peter Maydell | Andreas Färber |
|---|---|---|
| 1/5 | ||
| 2/5 | R-b | |
| 3/5 | ||
| 4/5 | spotted-by | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/5] target-i386: move cpu reset and tcg intialization inside CPU object
There is no much sence in holding back rather independed cpu_reset and tcg init patches from:
"[PATCH qom-next v3 0/12] target-i386: re-factor CPU creation/initialization to QOM"
http://lists.gnu.org/archive/html/qemu-devel/2012-05/msg04077.html
Reposting ammended and rebased patches.
git tree for testing:
https://github.com/imammedo/qemu/tree/x86cpu_qom_reset_tcg
Compile & Run tested:
target-i386: tcg and kvm mode
i386-linux-user: running of /bin/ls
Igor Mammedov (5):
target-i386: move reset callback to cpu.c and call cpu_reset() in x86_cpu_realize()
target-i386: move cpu halted decision into x86_cpu_reset
target-i386: call x86_cpu_realize() only after APIC is initialized.
target-i386: move tcg initialization into x86_cpu_initfn()
target-i386: drop usage of prev_debug_excp_handler
hw/apic.h | 2 +- hw/apic_common.c | 20 ++++++++++++++------ hw/pc.c | 10 +--------- target-i386/cpu.c | 19 +++++++++++++++++++ target-i386/cpu.h | 1 + target-i386/helper.c | 19 +------------------ target-i386/kvm.c | 5 +++-- 7 files changed, 40 insertions(+), 36 deletions(-)