[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 4f6580: cpu: Prepare QOM realizefn
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 4f6580: cpu: Prepare QOM realizefn |
Date: |
Mon, 18 Feb 2013 08:00:21 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 4f65809994274989bdf51c8605bb974565cb1c9e
https://github.com/qemu/qemu/commit/4f65809994274989bdf51c8605bb974565cb1c9e
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M qom/cpu.c
Log Message:
-----------
cpu: Prepare QOM realizefn
Overwrite the default implementation with a no-op, no longer
attempting to call DeviceClass::init.
Signed-off-by: Andreas Färber <address@hidden>
Commit: bd1b282836a7885a13c13f9cc63123fa8e32f02f
https://github.com/qemu/qemu/commit/bd1b282836a7885a13c13f9cc63123fa8e32f02f
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-alpha/cpu-qom.h
M target-alpha/cpu.c
Log Message:
-----------
target-alpha: Update AlphaCPU to QOM realizefn
Update the alpha_cpu_realize() signature and hook up to
DeviceClass::realize. Set realized = true in cpu_alpha_init().
qapi/error.h is included through qdev now and no longer needed.
Acked-by: Richard Henderson <address@hidden>
[AF: Invoke parent's realizefn]
Signed-off-by: Andreas Färber <address@hidden>
Commit: 149692667f8a46430127ca0555b38965f52177f5
https://github.com/qemu/qemu/commit/149692667f8a46430127ca0555b38965f52177f5
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-arm/cpu-qom.h
M target-arm/cpu.c
M target-arm/cpu.h
M target-arm/helper.c
Log Message:
-----------
target-arm: Update ARMCPU to QOM realizefn
Turn arm_cpu_realize() into a QOM realize function, no longer called
via cpu.h prototype. To maintain the semantics of cpu_init(), set
realized = true explicitly in cpu_arm_init().
Move GDB coprocessor registration, CPU reset and vCPU initialization
into the realizefn.
Signed-off-by: Andreas Färber <address@hidden>
Commit: 2b6f294cacd9f4e133a7813d22e1b4e87ac6b2a3
https://github.com/qemu/qemu/commit/2b6f294cacd9f4e133a7813d22e1b4e87ac6b2a3
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-i386/cpu-qom.h
M target-i386/cpu.c
M target-i386/helper.c
Log Message:
-----------
target-i386: Update X86CPU to QOM realizefn
Adapt the signature of x86_cpu_realize(), hook up to
DeviceClass::realize and set realized = true in cpu_x86_init().
The QOM realizefn cannot depend on errp being non-NULL as in
cpu_x86_init(), so use a local Error to preserve error handling behavior
on APIC initialization errors.
Reviewed-by: Igor Mammedov <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
[AF: Invoke parent's realizefn]
Signed-off-by: Andreas Färber <address@hidden>
Commit: c296262bc94651a7a43639857d8343470f4129f3
https://github.com/qemu/qemu/commit/c296262bc94651a7a43639857d8343470f4129f3
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-openrisc/cpu.c
M target-openrisc/cpu.h
Log Message:
-----------
target-openrisc: Update OpenRISCCPU to QOM realizefn
Update the openrisc_cpu_realize() signature, hook it up to
DeviceClass::realize and set realized = true in cpu_openrisc_init().
qapi/error.h is now included through qdev and no longer needed.
Signed-off-by: Andreas Färber <address@hidden>
Cc: Jia Liu <address@hidden>
Commit: 4776ce600338e17f75d200d1ad17d4ce9effa57f
https://github.com/qemu/qemu/commit/4776ce600338e17f75d200d1ad17d4ce9effa57f
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-ppc/cpu-qom.h
M target-ppc/translate_init.c
Log Message:
-----------
target-ppc: Update PowerPCCPU to QOM realizefn
Adapt ppc_cpu_realize() signature, hook it up to DeviceClass and set
realized = true in cpu_ppc_init().
Reviewed-by: Eduardo Habkost <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Commit: ca45f8b0440358ccca63446cf0df05772791b2a1
https://github.com/qemu/qemu/commit/ca45f8b0440358ccca63446cf0df05772791b2a1
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-cris/cpu-qom.h
M target-cris/cpu.c
M target-cris/translate.c
Log Message:
-----------
target-cris: Introduce QOM realizefn for CRISCPU
Introduce realizefn and set realized = true from cpu_cris_init().
Reviewed-by: Eduardo Habkost <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Commit: 9c23169e8cd54b490d55221b6498d42966f964f3
https://github.com/qemu/qemu/commit/9c23169e8cd54b490d55221b6498d42966f964f3
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-lm32/cpu-qom.h
M target-lm32/cpu.c
M target-lm32/helper.c
Log Message:
-----------
target-lm32: Introduce QOM realizefn for LM32CPU
Introduce a realizefn and set realized = true in cpu_lm32_init().
Also move cpu_reset() call from initfn to realizefn.
Signed-off-by: Andreas Färber <address@hidden>
Commit: 6d1bbc6273d45520c5ce6475186bfa30d8afb47c
https://github.com/qemu/qemu/commit/6d1bbc6273d45520c5ce6475186bfa30d8afb47c
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-m68k/cpu-qom.h
M target-m68k/cpu.c
M target-m68k/cpu.h
M target-m68k/helper.c
Log Message:
-----------
target-m68k: Introduce QOM realizefn for M68kCPU
Introduce realizefn and set realized = true in cpu_m68k_init().
Split off GDB registration to a new m68k_cpu_init_gdb() so that it can
be called from the realizefn.
Signed-off-by: Andreas Färber <address@hidden>
Commit: 746b03b27cac48be5a376d8635ffaf568339ebd7
https://github.com/qemu/qemu/commit/746b03b27cac48be5a376d8635ffaf568339ebd7
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-microblaze/cpu-qom.h
M target-microblaze/cpu.c
M target-microblaze/translate.c
Log Message:
-----------
target-microblaze: Introduce QOM realizefn for MicroBlazeCPU
Introduce realizefn and set realized = true from cpu_mb_init().
Signed-off-by: Andreas Färber <address@hidden>
Commit: c1caf1d961288e41c25de6631c6751ae7baa20f0
https://github.com/qemu/qemu/commit/c1caf1d961288e41c25de6631c6751ae7baa20f0
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-mips/cpu-qom.h
M target-mips/cpu.c
M target-mips/translate.c
Log Message:
-----------
target-mips: Introduce QOM realizefn for MIPSCPU
Introduce a realizefn and set realized = true from cpu_mips_init().
Signed-off-by: Andreas Färber <address@hidden>
Commit: 1f1366322b21678c33003a373366697a4542d2d4
https://github.com/qemu/qemu/commit/1f1366322b21678c33003a373366697a4542d2d4
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-s390x/cpu-qom.h
M target-s390x/cpu.c
M target-s390x/helper.c
Log Message:
-----------
target-s390x: Introduce QOM realizefn for S390CPU
Introduce realizefn and set realized = true in cpu_s390x_init().
Defer CPU reset from initfn to realizefn.
Acked-by: Richard Henderson <address@hidden>
[AF: Invoke parent's realizefn]
Signed-off-by: Andreas Färber <address@hidden>
Commit: 55acb588dd184a1e33be0ff1fe23f8c19f88fd6c
https://github.com/qemu/qemu/commit/55acb588dd184a1e33be0ff1fe23f8c19f88fd6c
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-sh4/cpu-qom.h
M target-sh4/cpu.c
M target-sh4/translate.c
Log Message:
-----------
target-sh4: Introduce QOM realizefn for SuperHCPU
Introduce a realizefn and set realized = true in cpu_sh4_init().
Signed-off-by: Andreas Färber <address@hidden>
Commit: b6e91ebfe06f1d90331d162259553a5330514143
https://github.com/qemu/qemu/commit/b6e91ebfe06f1d90331d162259553a5330514143
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-sparc/cpu-qom.h
M target-sparc/cpu.c
Log Message:
-----------
target-sparc: Introduce QOM realizefn for SPARCCPU
Introduce realizefn and set realized = true in cpu_sparc_init().
Signed-off-by: Andreas Färber <address@hidden>
Commit: 088383e3220776917f538d0e43933e842e16b804
https://github.com/qemu/qemu/commit/088383e3220776917f538d0e43933e842e16b804
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-unicore32/cpu-qom.h
M target-unicore32/cpu.c
M target-unicore32/helper.c
Log Message:
-----------
target-unicore32: Introduce QOM realizefn for UniCore32CPU
Introduce a realizefn and set realized = true in uc32_cpu_init().
Acked-by: Guan Xuetao <address@hidden>
[AF: Invoke the parent's realizefn]
Signed-off-by: Andreas Färber <address@hidden>
Commit: 5f6c964389ea5320e81e2fb8c2bc3aa40c5a8013
https://github.com/qemu/qemu/commit/5f6c964389ea5320e81e2fb8c2bc3aa40c5a8013
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-xtensa/cpu-qom.h
M target-xtensa/cpu.c
M target-xtensa/helper.c
Log Message:
-----------
target-xtensa: Introduce QOM realizefn for XtensaCPU
Introduce realizefn and set realized = true in cpu_xtensa_init().
Signed-off-by: Andreas Färber <address@hidden>
Commit: 79614b781df5096ffecf531992314781dbab54af
https://github.com/qemu/qemu/commit/79614b781df5096ffecf531992314781dbab54af
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-arm/cpu.c
M target-arm/helper.c
Log Message:
-----------
target-arm: Move TCG initialization to ARMCPU initfn
Ensures that a QOM-created ARMCPU is usable.
Signed-off-by: Andreas Färber <address@hidden>
Commit: d1a94fec3d8d70009fd5ac27ade5539fe58cd702
https://github.com/qemu/qemu/commit/d1a94fec3d8d70009fd5ac27ade5539fe58cd702
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-cris/cpu.c
M target-cris/cpu.h
M target-cris/translate.c
M target-cris/translate_v10.c
Log Message:
-----------
target-cris: Move TCG initialization to CRISCPU initfn
Split out TCG initialization from cpu_cris_init(). Avoid CPUCRISState
dependency for v10-specific initialization and for non-v10 by inlining
the decision into the initfn as well.
Signed-off-by: Andreas Färber <address@hidden>
Commit: 868e2824276cbe6ef2e202c05c4eb3a3a19d3ee0
https://github.com/qemu/qemu/commit/868e2824276cbe6ef2e202c05c4eb3a3a19d3ee0
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-lm32/cpu.c
M target-lm32/helper.c
Log Message:
-----------
target-lm32: Move TCG initialization to LM32CPU initfn
Signed-off-by: Andreas Färber <address@hidden>
Commit: 1cc896195bae54d7a5f48f9032037d8f6f65abd5
https://github.com/qemu/qemu/commit/1cc896195bae54d7a5f48f9032037d8f6f65abd5
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-m68k/cpu.c
M target-m68k/helper.c
Log Message:
-----------
target-m68k: Move TCG initialization to M68kCPU initfn
Add a tcg_enabled() check to suppress it for qtest.
Signed-off-by: Andreas Färber <address@hidden>
Commit: cd0c24f9095b1f825210bb9d9f99532c78668074
https://github.com/qemu/qemu/commit/cd0c24f9095b1f825210bb9d9f99532c78668074
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-microblaze/cpu.c
M target-microblaze/cpu.h
M target-microblaze/translate.c
Log Message:
-----------
target-microblaze: Move TCG initialization to MicroBlazeCPU initfn
Split off TCG initialization from cpu_mb_init() into mb_tcg_init() to
call it from the initfn.
Ensures that a QOM-created MicroBlazeCPU is usable.
Signed-off-by: Andreas Färber <address@hidden>
Commit: 78ce64f492498050083e46cdd7e6cbae6435843c
https://github.com/qemu/qemu/commit/78ce64f492498050083e46cdd7e6cbae6435843c
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-mips/cpu.c
M target-mips/cpu.h
M target-mips/translate.c
Log Message:
-----------
target-mips: Move TCG initialization to MIPSCPU initfn
Make mips_tcg_init() non-static and add tcg_enabled() check to suppress
it for qtest.
Signed-off-by: Andreas Färber <address@hidden>
Commit: 60925d2644953ce1ca7813411853d8c04e637050
https://github.com/qemu/qemu/commit/60925d2644953ce1ca7813411853d8c04e637050
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-ppc/translate_init.c
Log Message:
-----------
target-ppc: Move TCG initialization to PowerPCCPU initfn
Ensures that a QOM-created PowerPCCPU is usable.
Signed-off-by: Andreas Färber <address@hidden>
Commit: 2b7ac76729c8253d799a8d3bb9bae76cccb0714e
https://github.com/qemu/qemu/commit/2b7ac76729c8253d799a8d3bb9bae76cccb0714e
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-s390x/cpu.c
M target-s390x/helper.c
Log Message:
-----------
target-s390x: Move TCG initialization to S390CPU initfn
Ensures that a QOM-created S390CPU is usable.
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Commit: aa7408ec18c3517b2476a3671cd0b7f171241e2d
https://github.com/qemu/qemu/commit/aa7408ec18c3517b2476a3671cd0b7f171241e2d
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-sh4/cpu.c
M target-sh4/cpu.h
M target-sh4/translate.c
Log Message:
-----------
target-sh4: Move TCG initialization to SuperHCPU initfn
Add a tcg_enabled() check to suppress it for qtest.
Signed-off-by: Andreas Färber <address@hidden>
Commit: 5266d20a12f2ef01841aad5f1692d73551a39dac
https://github.com/qemu/qemu/commit/5266d20a12f2ef01841aad5f1692d73551a39dac
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-sparc/cpu.c
Log Message:
-----------
target-sparc: Move TCG initialization to SPARCCPU initfn
Signed-off-by: Andreas Färber <address@hidden>
Commit: d9c27f00b174df070470d48d6577042d2186d969
https://github.com/qemu/qemu/commit/d9c27f00b174df070470d48d6577042d2186d969
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-unicore32/cpu.c
M target-unicore32/helper.c
Log Message:
-----------
target-unicore32: Move TCG initialization to UniCore32CPU initfn
Normalize the "inited" logic and add a tcg_enabled() check to suppress
it for qtest.
Ensures that a QOM-created UniCore32CPU is usable.
Acked-by: Guan Xuetao <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Commit: 25733eada6c1d4928262e77e2ee1e9ed12de18fb
https://github.com/qemu/qemu/commit/25733eada6c1d4928262e77e2ee1e9ed12de18fb
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-xtensa/cpu.c
M target-xtensa/cpu.h
M target-xtensa/helper.c
Log Message:
-----------
target-xtensa: Move TCG initialization to XtensaCPU initfn
Combine this with breakpoint handler registration, guarding both with
tcg_enabled() to suppress also TCG init for qtest. Rename the handler to
xtensa_breakpoint_handler() since it needs to become global.
Signed-off-by: Andreas Färber <address@hidden>
Commit: f3273ba643f2d0221492381b24bbc35fb6089a48
https://github.com/qemu/qemu/commit/f3273ba643f2d0221492381b24bbc35fb6089a48
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M hw/ppc.c
M hw/ppc.h
M hw/ppc405_uc.c
Log Message:
-----------
ppc405_uc: Pass PowerPCCPU to ppc40x_{core,chip,system}_reset()
Prepares for changing cpu_interrupt() argument to CPUState.
Signed-off-by: Andreas Färber <address@hidden>
Acked-by: Alexander Graf <address@hidden>
Commit: c7937d9f9a99d8cc2848e85f608d89c6f326daf0
https://github.com/qemu/qemu/commit/c7937d9f9a99d8cc2848e85f608d89c6f326daf0
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-m68k/cpu.h
M target-m68k/helper.c
Log Message:
-----------
target-m68k: Return M68kCPU from cpu_m68k_init()
Turn cpu_init() into a static inline function for backwards
compatibility.
Signed-off-by: Andreas Färber <address@hidden>
Commit: 4025cfd5d7175203008343a375f9287c77cd383c
https://github.com/qemu/qemu/commit/4025cfd5d7175203008343a375f9287c77cd383c
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M hw/an5206.c
M hw/mcf.h
M hw/mcf5206.c
Log Message:
-----------
mcf5206: Pass M68kCPU to mcf5206_init()
Store it in m5206_mbar_state. Prepares for passing M68kCPU to
m68k_set_irq_level().
Signed-off-by: Andreas Färber <address@hidden>
Commit: 9a6ee9fd35483446fe14e083fa335358c86ba595
https://github.com/qemu/qemu/commit/9a6ee9fd35483446fe14e083fa335358c86ba595
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M hw/mcf.h
M hw/mcf5208.c
M hw/mcf_intc.c
Log Message:
-----------
mcf_intc: Pass M68kCPU to mcf_intc_init()
Store it in mcf_intc_state.
Prepares for passing it to m68k_set_irq_level().
Signed-off-by: Andreas Färber <address@hidden>
Commit: cb3fb38e91caacfcb0f86e8c587ed74ffa34fe8e
https://github.com/qemu/qemu/commit/cb3fb38e91caacfcb0f86e8c587ed74ffa34fe8e
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M hw/mcf5206.c
M hw/mcf_intc.c
M target-m68k/cpu.h
M target-m68k/helper.c
Log Message:
-----------
target-m68k: Pass M68kCPU to m68k_set_irq_level()
Simplifies use of cpu_reset_interrupt() et al.
Signed-off-by: Andreas Färber <address@hidden>
Commit: 6ae064fc671f1c475b1371c067fa3100ec6daf80
https://github.com/qemu/qemu/commit/6ae064fc671f1c475b1371c067fa3100ec6daf80
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-cris/cpu-qom.h
M target-cris/cpu.c
M target-cris/translate.c
Log Message:
-----------
target-cris: Introduce CRISCPU subclasses
Use class_init functions to initialize the VR in preparation for
overriding v32+ behavior there.
Move cpu_cris_init() to cpu.c and hook up a class_by_name callback.
This change leads to unknown -cpu model names no longer falling back
to a CPU with VR 32 but instead returning NULL.
Acked-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Commit: 0d34282fdde1d8f337d2a9e10f5ac793b12ef2e7
https://github.com/qemu/qemu/commit/0d34282fdde1d8f337d2a9e10f5ac793b12ef2e7
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M dump.c
M gdbstub.c
M include/exec/cpu-defs.h
M include/exec/gdbstub.h
M include/qom/cpu.h
M linux-user/syscall.c
Log Message:
-----------
cpu: Move host_tid field to CPUState
Change gdbstub's cpu_index() argument to CPUState now that CPUArchState
is no longer used.
Signed-off-by: Andreas Färber <address@hidden>
Commit: 0315c31cda054775585b31f8cb3c9228cc6fc28b
https://github.com/qemu/qemu/commit/0315c31cda054775585b31f8cb3c9228cc6fc28b
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M include/exec/cpu-defs.h
M include/qom/cpu.h
M linux-user/main.c
Log Message:
-----------
cpu: Move running field to CPUState
Pass CPUState to cpu_exec_{start,end}() functions.
Signed-off-by: Andreas Färber <address@hidden>
Commit: fcd7d0034b7eddba505a548f456f452bf5a7d56c
https://github.com/qemu/qemu/commit/fcd7d0034b7eddba505a548f456f452bf5a7d56c
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M cpu-exec.c
M exec.c
M hw/spapr_hcall.c
M include/exec/cpu-defs.h
M include/qom/cpu.h
M kvm-all.c
M qom/cpu.c
M target-i386/kvm.c
Log Message:
-----------
cpu: Move exit_request field to CPUState
Since it was located before breakpoints field, it needs to be reset.
Signed-off-by: Andreas Färber <address@hidden>
Commit: d77953b94ff20868b21796ee22ca57baa1cfc941
https://github.com/qemu/qemu/commit/d77953b94ff20868b21796ee22ca57baa1cfc941
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M cpu-exec.c
M cputlb.c
M hw/apic_common.c
M hw/apic_internal.h
M hw/kvmvapic.c
M include/exec/cpu-defs.h
M include/exec/exec-all.h
M include/qom/cpu.h
M qom/cpu.c
M translate-all.c
Log Message:
-----------
cpu: Move current_tb field to CPUState
Explictly NULL it on CPU reset since it was located before breakpoints.
Change vapic_report_tpr_access() argument to CPUState. This also
resolves the use of void* for cpu.h independence.
Change vAPIC patch_instruction() argument to X86CPU.
Signed-off-by: Andreas Färber <address@hidden>
Commit: 907a5e32f293a0af8875973d4cce12b96bea5bae
https://github.com/qemu/qemu/commit/907a5e32f293a0af8875973d4cce12b96bea5bae
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M exec.c
M translate-all.c
M translate-all.h
Log Message:
-----------
cputlb: Pass CPUState to cpu_unlink_tb()
CPUArchState is no longer needed.
Signed-off-by: Andreas Färber <address@hidden>
Commit: c05efcb18ee30cdf2b00b3512aa0f5233b52911f
https://github.com/qemu/qemu/commit/c05efcb18ee30cdf2b00b3512aa0f5233b52911f
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M include/qom/cpu.h
M target-alpha/cpu.c
M target-arm/cpu.c
M target-cris/cpu.c
M target-i386/cpu.c
M target-lm32/cpu.c
M target-m68k/cpu.c
M target-microblaze/cpu.c
M target-mips/cpu.c
M target-openrisc/cpu.c
M target-ppc/translate_init.c
M target-s390x/cpu.c
M target-sh4/cpu.c
M target-sparc/cpu.c
M target-unicore32/cpu.c
M target-xtensa/cpu.c
Log Message:
-----------
cpu: Add CPUArchState pointer to CPUState
The target-specific ENV_GET_CPU() macros have allowed us to navigate
from CPUArchState to CPUState. The reverse direction was not supported.
Avoid introducing CPU_GET_ENV() macros by initializing an untyped
pointer that is initialized in derived instance_init functions.
The field may not be called "env" due to it being poisoned.
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Commit: 440c8152bd410b0f928d4de6f187f1e2280e1324
https://github.com/qemu/qemu/commit/440c8152bd410b0f928d4de6f187f1e2280e1324
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M hw/ppc/e500.c
Log Message:
-----------
e500: Replace open-coded loop with qemu_get_cpu()
Since we still need env for ppc-specific fields, obtain it via the new
env_ptr fields to avoid "cpu" name conflicts between CPUState and
PowerPCCPU for now.
This fixes a potential issue with env being NULL at the end of the loop
but cpu still being a valid pointer corresponding to a previous env.
Acked-by: Alexander Graf <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Commit: 912ebe10eff6cf7e05f908a44283033c1c0270a0
https://github.com/qemu/qemu/commit/912ebe10eff6cf7e05f908a44283033c1c0270a0
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M hw/ppce500_spin.c
Log Message:
-----------
ppce500_spin: Replace open-coded CPU loop with qemu_get_cpu()
Potentially env could be NULL whereas cpu would still be valid and
correspond to a previous env.
Wrapping this in qemu_get_cpu(), env is no longer needed, so simplify
code that existed before 55e5c2850293547203874098f7cec148ffd12dfa.
Acked-by: Alexander Graf <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Commit: 5353d03dd7917875b46ff03e0d9e2935770f5e9d
https://github.com/qemu/qemu/commit/5353d03dd7917875b46ff03e0d9e2935770f5e9d
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M hw/spapr_hcall.c
Log Message:
-----------
spapr_hcall: Replace open-coded CPU loop with qemu_get_cpu()
The helper functions all access ppc-specific fields only so don't bother
to change arguments to PowerPCCPU and use env_ptr instead.
No functional change.
Acked-by: Alexander Graf <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Commit: 0dac84597a66eb8f416972faef451ce786b3cdd4
https://github.com/qemu/qemu/commit/0dac84597a66eb8f416972faef451ce786b3cdd4
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-s390x/cpu.h
Log Message:
-----------
target-s390x: Drop unused cpu_s390x_close() prototype
It was never implemented.
Signed-off-by: Andreas Färber <address@hidden>
Commit: 0203f86f5205e09a56df41021d872c6353754250
https://github.com/qemu/qemu/commit/0203f86f5205e09a56df41021d872c6353754250
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-lm32/cpu.h
Log Message:
-----------
target-lm32: Drop unused cpu_lm32_close() prototype
It was never implemented.
Signed-off-by: Andreas Färber <address@hidden>
Commit: 5c3c6a682dedb3ef6becf112867cf92abf203816
https://github.com/qemu/qemu/commit/5c3c6a682dedb3ef6becf112867cf92abf203816
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M target-i386/cpu.c
M target-i386/cpu.h
M target-i386/helper.c
Log Message:
-----------
target-i386: Move cpu_x86_init()
Consolidate CPU functions in cpu.c.
Allows to make cpu_x86_register() static.
No functional changes.
Reviewed-by: Eduardo Habkost <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Commit: 2d64255bd7c0d3933ff5ab2cabff11bcb09117a8
https://github.com/qemu/qemu/commit/2d64255bd7c0d3933ff5ab2cabff11bcb09117a8
Author: Andreas Färber <address@hidden>
Date: 2013-02-16 (Sat, 16 Feb 2013)
Changed paths:
M hw/pc.c
M target-i386/cpu.c
Log Message:
-----------
target-i386: Split command line parsing out of cpu_x86_register()
In order to instantiate a CPU subtype we will need to know which type,
so move the cpu_model splitting into cpu_x86_init().
Parameters need to be set on the X86CPU instance, so move
cpu_x86_parse_featurestr() into cpu_x86_init() as well.
This leaves cpu_x86_register() operating on the model name only.
Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Commit: 3c3adde005ec929d7d581d495d9a0bb223e6e055
https://github.com/qemu/qemu/commit/3c3adde005ec929d7d581d495d9a0bb223e6e055
Author: Anthony Liguori <address@hidden>
Date: 2013-02-18 (Mon, 18 Feb 2013)
Changed paths:
M cpu-exec.c
M cputlb.c
M dump.c
M exec.c
M gdbstub.c
M hw/an5206.c
M hw/apic_common.c
M hw/apic_internal.h
M hw/kvmvapic.c
M hw/mcf.h
M hw/mcf5206.c
M hw/mcf5208.c
M hw/mcf_intc.c
M hw/pc.c
M hw/ppc.c
M hw/ppc.h
M hw/ppc/e500.c
M hw/ppc405_uc.c
M hw/ppce500_spin.c
M hw/spapr_hcall.c
M include/exec/cpu-defs.h
M include/exec/exec-all.h
M include/exec/gdbstub.h
M include/qom/cpu.h
M kvm-all.c
M linux-user/main.c
M linux-user/syscall.c
M qom/cpu.c
M target-alpha/cpu-qom.h
M target-alpha/cpu.c
M target-arm/cpu-qom.h
M target-arm/cpu.c
M target-arm/cpu.h
M target-arm/helper.c
M target-cris/cpu-qom.h
M target-cris/cpu.c
M target-cris/cpu.h
M target-cris/translate.c
M target-cris/translate_v10.c
M target-i386/cpu-qom.h
M target-i386/cpu.c
M target-i386/cpu.h
M target-i386/helper.c
M target-i386/kvm.c
M target-lm32/cpu-qom.h
M target-lm32/cpu.c
M target-lm32/cpu.h
M target-lm32/helper.c
M target-m68k/cpu-qom.h
M target-m68k/cpu.c
M target-m68k/cpu.h
M target-m68k/helper.c
M target-microblaze/cpu-qom.h
M target-microblaze/cpu.c
M target-microblaze/cpu.h
M target-microblaze/translate.c
M target-mips/cpu-qom.h
M target-mips/cpu.c
M target-mips/cpu.h
M target-mips/translate.c
M target-openrisc/cpu.c
M target-openrisc/cpu.h
M target-ppc/cpu-qom.h
M target-ppc/translate_init.c
M target-s390x/cpu-qom.h
M target-s390x/cpu.c
M target-s390x/cpu.h
M target-s390x/helper.c
M target-sh4/cpu-qom.h
M target-sh4/cpu.c
M target-sh4/cpu.h
M target-sh4/translate.c
M target-sparc/cpu-qom.h
M target-sparc/cpu.c
M target-unicore32/cpu-qom.h
M target-unicore32/cpu.c
M target-unicore32/helper.c
M target-xtensa/cpu-qom.h
M target-xtensa/cpu.c
M target-xtensa/cpu.h
M target-xtensa/helper.c
M translate-all.c
M translate-all.h
Log Message:
-----------
Merge remote-tracking branch 'afaerber/qom-cpu' into staging
# By Andreas Färber
# Via Andreas Färber
* afaerber/qom-cpu: (47 commits)
target-i386: Split command line parsing out of cpu_x86_register()
target-i386: Move cpu_x86_init()
target-lm32: Drop unused cpu_lm32_close() prototype
target-s390x: Drop unused cpu_s390x_close() prototype
spapr_hcall: Replace open-coded CPU loop with qemu_get_cpu()
ppce500_spin: Replace open-coded CPU loop with qemu_get_cpu()
e500: Replace open-coded loop with qemu_get_cpu()
cpu: Add CPUArchState pointer to CPUState
cputlb: Pass CPUState to cpu_unlink_tb()
cpu: Move current_tb field to CPUState
cpu: Move exit_request field to CPUState
cpu: Move running field to CPUState
cpu: Move host_tid field to CPUState
target-cris: Introduce CRISCPU subclasses
target-m68k: Pass M68kCPU to m68k_set_irq_level()
mcf_intc: Pass M68kCPU to mcf_intc_init()
mcf5206: Pass M68kCPU to mcf5206_init()
target-m68k: Return M68kCPU from cpu_m68k_init()
ppc405_uc: Pass PowerPCCPU to ppc40x_{core,chip,system}_reset()
target-xtensa: Move TCG initialization to XtensaCPU initfn
...
Commit: 6acf801de5a6e299c02ab3efe3e0dcd75ae678e0
https://github.com/qemu/qemu/commit/6acf801de5a6e299c02ab3efe3e0dcd75ae678e0
Author: Andreas Färber <address@hidden>
Date: 2013-02-18 (Mon, 18 Feb 2013)
Changed paths:
M tests/libqtest.h
Log Message:
-----------
libqtest: Convert macros to functions and clean up documentation
libqtest.h provides a number of shortcut macros to avoid tests feeding
it the QTestState they operate on. Most of these can easily be turned
into static inline functions, so let's do that for clarity.
This avoids getting off-by-one error messages when passing wrong args.
Some macros had a val argument but documented @value argument. Fix this.
While touching things, enforce gtk-doc markup for return values and for
referencing types.
Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: b73cf9e93f1c7fd6e949f71172c49848b4d70aa9
https://github.com/qemu/qemu/commit/b73cf9e93f1c7fd6e949f71172c49848b4d70aa9
Author: Andreas Färber <address@hidden>
Date: 2013-02-18 (Mon, 18 Feb 2013)
Changed paths:
M tests/libqtest.c
M tests/libqtest.h
Log Message:
-----------
libqtest: Introduce qtest_qmpv() and convert remaining macro
In order to convert qmp() macro to an inline function, expose a
qtest_qmpv() function, reused by qtest_qmp().
We can't apply GCC_FMT_ATTR() since fdc-test is using zero-length format
strings, which would result in warnings treated as errors.
Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 872536bf5dfdf207d275cd627caec2aefb68aab9
https://github.com/qemu/qemu/commit/872536bf5dfdf207d275cd627caec2aefb68aab9
Author: Andreas Färber <address@hidden>
Date: 2013-02-18 (Mon, 18 Feb 2013)
Changed paths:
M Makefile.objs
M Makefile.target
M qtest.c
M tests/libi2c-omap.c
M tests/libqtest.c
M tests/libqtest.h
M tests/m48t59-test.c
Log Message:
-----------
qtest: Add MMIO support
Introduce [qtest_]{read,write}[bwlq]() libqtest functions and
corresponding QTest protocol commands to replace local versions in
libi2c-omap.c.
Also convert m48t59-test's cmos_{read,write}_mmio() to {read,write}b().
Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: c538ca66ffec97432057d3fe1aa5a4bb417ae9e9
https://github.com/qemu/qemu/commit/c538ca66ffec97432057d3fe1aa5a4bb417ae9e9
Author: Andreas Färber <address@hidden>
Date: 2013-02-18 (Mon, 18 Feb 2013)
Changed paths:
M hw/isa-bus.c
Log Message:
-----------
isa: Split off instance_init for ISADevice
Prepares for assigning IRQs before QOM realize.
Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 31e70d6c12d8f0170d7eeb56fa8275a9cc77c4a4
https://github.com/qemu/qemu/commit/31e70d6c12d8f0170d7eeb56fa8275a9cc77c4a4
Author: Markus Armbruster <address@hidden>
Date: 2013-02-18 (Mon, 18 Feb 2013)
Changed paths:
M qemu-options.hx
Log Message:
-----------
help: Drop bogus help on -qtest and -qtest-log
Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: b8f490eb271cf07f491f05e11e3a3a4e7fde9f70
https://github.com/qemu/qemu/commit/b8f490eb271cf07f491f05e11e3a3a4e7fde9f70
Author: Markus Armbruster <address@hidden>
Date: 2013-02-18 (Mon, 18 Feb 2013)
Changed paths:
M qemu-options.hx
Log Message:
-----------
doc: Fix some option entries in qemu-doc's function index
Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 6265c43b0c872015e4331d3a93ff99946f3edb01
https://github.com/qemu/qemu/commit/6265c43b0c872015e4331d3a93ff99946f3edb01
Author: Markus Armbruster <address@hidden>
Date: 2013-02-18 (Mon, 18 Feb 2013)
Changed paths:
M qemu-options.hx
Log Message:
-----------
doc: Fill some option doc gaps in manual page and qemu-doc
Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: c70a01e449536c616c85ab820c6fbad7d7e9cf39
https://github.com/qemu/qemu/commit/c70a01e449536c616c85ab820c6fbad7d7e9cf39
Author: Markus Armbruster <address@hidden>
Date: 2013-02-18 (Mon, 18 Feb 2013)
Changed paths:
M qemu-options.hx
Log Message:
-----------
doc: Fix texinfo @table markup in qemu-options.hx
End tables before headings, start new ones afterwards. Fixes
incorrect indentation of headings "File system options" and "Virtual
File system pass-through options" in manual page and qemu-doc.
Normalize markup some to increase chances it survives future edits.
Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: f037809907bcc51295a471ad66b14e90f22d8caa
https://github.com/qemu/qemu/commit/f037809907bcc51295a471ad66b14e90f22d8caa
Author: Markus Armbruster <address@hidden>
Date: 2013-02-18 (Mon, 18 Feb 2013)
Changed paths:
M qemu-options.hx
Log Message:
-----------
help: Fix markup of heading "USB options" so it appears in -help
Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 84644c451ce7cf8e3cf027501f0f44041f8c6972
https://github.com/qemu/qemu/commit/84644c451ce7cf8e3cf027501f0f44041f8c6972
Author: Markus Armbruster <address@hidden>
Date: 2013-02-18 (Mon, 18 Feb 2013)
Changed paths:
M qemu-options.hx
Log Message:
-----------
doc help: A few options are under inappropriate headings, fix
--device is under heading "USB options". --name and --uuid are under
"Virtual File system pass-through options". Move all three to
"Standard options".
Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 10adb8be87c315573a5bf9f5bda885f25da28ce6
https://github.com/qemu/qemu/commit/10adb8be87c315573a5bf9f5bda885f25da28ce6
Author: Markus Armbruster <address@hidden>
Date: 2013-02-18 (Mon, 18 Feb 2013)
Changed paths:
M qemu-options.hx
Log Message:
-----------
doc help: Collect block device stuff under its own heading
Collect them from "Standard options", "File system options", "Virtual
File system pass-through options", "Debug/Expert options".
Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 7d2a929feba319c18603e324b1750830d6c8b7a1
https://github.com/qemu/qemu/commit/7d2a929feba319c18603e324b1750830d6c8b7a1
Author: Andre Przywara <address@hidden>
Date: 2013-02-18 (Mon, 18 Feb 2013)
Changed paths:
M ui/vnc-tls.c
Log Message:
-----------
vnc-tls: Fix compilation with newer versions of GNU-TLS
In my installation of GNU-TLS (v3.0.23) the type
gnutls_anon_server_credentials is marked deprecated, so -Werror
breaks compilation.
Simply replacing it with the newer ..._t version fixed the compilation
on my machine (Slackware 14.0). I cannot tell how far back this "new"
type goes, at least the header file in RHEL 5.0 (v1.4.1) seems to have
it already. If someone finds a broken distribution, tell me and I
insert some compat code.
Signed-off-by: Andre Przywara <address@hidden>
Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>
Compare: https://github.com/qemu/qemu/compare/f4c0f986c061...7d2a929feba3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 4f6580: cpu: Prepare QOM realizefn,
GitHub <=