Hello, This is my current QOM CPU patch queue. Please pull.
It includes: * migration support for alpha and openrisc, * new CPUClass hooks, * CPUState propagation for qemu_init_vcpu(). Regards, Andreas Cc: Anthony Liguori <anth...@codemonkey.ws> Cc: Eduardo Habkost <ehabk...@redhat.com> Cc: Igor Mammedov <imamm...@redhat.com> Cc: Juan Quintela <quint...@redhat.com> Cc: Richard Henderson <r...@twiddle.net> Cc: Mike Frysinger <vap...@gentoo.org> The following changes since commit ec3f8c9913c1eeab78a02711be7c2a803dfb4d62: linux-user: Fix compilation failure (2013-06-27 15:38:35 -0500) are available in the git repository at: git://github.com/afaerber/qemu-cpu.git qom-cpu for you to fetch changes up to c658b94f6e8c206c59d02aa6fbac285b86b53d2c: cpu: Turn cpu_unassigned_access() into a CPUState hook (2013-06-28 13:25:13 +0200) ---------------------------------------------------------------- Andreas Färber (24): cpu: Fix cpu_class_set_vmsd() documentation cpu: Introduce device_class_set_vmsd() helper cpu: Introduce VMSTATE_CPU() macro for CPUState target-alpha: Register VMStateDescription for AlphaCPU target-openrisc: Register VMStateDescription for OpenRISCCPU cpu: Guard cpu_{save,load}() definitions gdbstub: Simplify find_cpu() kvm: Change kvm_cpu_synchronize_state() argument to CPUState kvm: Change cpu_synchronize_state() argument to CPUState cpu: Change cpu_exit() argument to CPUState cpus: Change cpu_thread_is_idle() argument to CPUState cpus: Change qemu_kvm_wait_io_event() argument to CPUState kvm: Change kvm_set_signal_mask() argument to CPUState cpus: Change qemu_kvm_init_cpu_signals() argument to CPUState cpu: Turn cpu_dump_{state,statistics}() into CPUState hooks kvm: Change kvm_handle_internal_error() argument to CPUState kvm: Change kvm_cpu_exec() argument to CPUState gdbstub: Set gdb_set_stop_cpu() argument to CPUState cpus: Change cpu_handle_guest_debug() argument to CPUState cpus: Change qemu_kvm_start_vcpu() argument to CPUState cpus: Change qemu_dummy_start_vcpu() argument to CPUState cpu: Change qemu_init_vcpu() argument to CPUState hwaddr: Make hwaddr type usable beyond softmmu cpu: Turn cpu_unassigned_access() into a CPUState hook bsd-user/main.c | 3 +- cpus.c | 81 +++++++++++--------------- cputlb.c | 15 +++-- exec.c | 16 ++---- gdbstub.c | 26 ++++----- hw/alpha/typhoon.c | 14 +++-- hw/i386/kvm/apic.c | 2 +- hw/i386/kvmvapic.c | 4 +- hw/i386/pc.c | 2 +- hw/mips/mips_fulong2e.c | 2 +- hw/mips/mips_jazz.c | 2 +- hw/mips/mips_malta.c | 2 +- hw/misc/vmport.c | 2 +- hw/ppc/ppce500_spin.c | 2 +- hw/ppc/prep.c | 2 +- hw/ppc/spapr_rtas.c | 2 +- include/exec/cpu-all.h | 12 ---- include/exec/cpu-common.h | 2 + include/exec/cpu-defs.h | 2 + include/exec/gdbstub.h | 2 +- include/exec/hwaddr.h | 4 -- include/exec/memory.h | 2 + include/qemu-common.h | 10 +--- include/qemu/log.h | 2 +- include/qom/cpu.h | 128 +++++++++++++++++++++++++++++++++++++++++- include/sysemu/kvm.h | 10 ++-- kvm-all.c | 20 +++---- kvm-stub.c | 8 +-- linux-user/main.c | 40 +++++++------ linux-user/signal.c | 2 +- memory.c | 14 +++-- monitor.c | 19 +++---- qom/cpu.c | 30 +++++++++- stubs/cpus.c | 5 ++ target-alpha/cpu-qom.h | 6 ++ target-alpha/cpu.c | 7 ++- target-alpha/cpu.h | 6 +- target-alpha/helper.c | 6 +- target-alpha/machine.c | 28 +++++---- target-alpha/mem_helper.c | 10 +++- target-arm/arm-semi.c | 3 +- target-arm/cpu-qom.h | 3 + target-arm/cpu.c | 2 +- target-arm/translate.c | 6 +- target-cris/cpu-qom.h | 3 + target-cris/cpu.c | 2 +- target-cris/helper.c | 4 +- target-cris/translate.c | 6 +- target-i386/cpu-qom.h | 3 + target-i386/cpu.c | 2 +- target-i386/helper.c | 11 ++-- target-i386/kvm.c | 12 ++-- target-lm32/cpu-qom.h | 2 + target-lm32/cpu.c | 3 +- target-lm32/translate.c | 6 +- target-m68k/cpu-qom.h | 2 + target-m68k/cpu.c | 2 +- target-m68k/translate.c | 6 +- target-microblaze/cpu-qom.h | 2 + target-microblaze/cpu.c | 4 +- target-microblaze/cpu.h | 5 +- target-microblaze/helper.c | 4 +- target-microblaze/op_helper.c | 17 ++++-- target-microblaze/translate.c | 6 +- target-mips/cpu-qom.h | 2 + target-mips/cpu.c | 3 +- target-mips/cpu.h | 5 +- target-mips/op_helper.c | 13 +++-- target-mips/translate.c | 6 +- target-moxie/cpu.c | 8 +-- target-moxie/cpu.h | 2 + target-moxie/helper.c | 4 +- target-moxie/translate.c | 6 +- target-openrisc/cpu.c | 3 +- target-openrisc/cpu.h | 4 ++ target-openrisc/machine.c | 27 +++++---- target-openrisc/translate.c | 12 ++-- target-ppc/cpu-qom.h | 4 ++ target-ppc/mmu-hash64.c | 2 +- target-ppc/translate.c | 15 +++-- target-ppc/translate_init.c | 4 +- target-s390x/cpu-qom.h | 2 + target-s390x/cpu.c | 2 +- target-s390x/kvm.c | 9 +-- target-s390x/translate.c | 6 +- target-sh4/cpu-qom.h | 2 + target-sh4/cpu.c | 2 +- target-sh4/translate.c | 7 ++- target-sparc/cpu-qom.h | 2 + target-sparc/cpu.c | 11 ++-- target-sparc/cpu.h | 5 +- target-sparc/ldst_helper.c | 27 ++++++--- target-unicore32/cpu-qom.h | 2 + target-unicore32/cpu.c | 4 +- target-unicore32/translate.c | 6 +- target-xtensa/cpu-qom.h | 2 + target-xtensa/cpu.c | 4 +- target-xtensa/op_helper.c | 4 +- target-xtensa/translate.c | 6 +- 99 files changed, 572 insertions(+), 319 deletions(-)