qemu/target-s390x
Paolo Bonzini 50a2c6e55f kvm: reset state from the CPU's reset method
Now that we have a CPU object with a reset method, it is better to
keep the KVM reset close to the CPU reset.  Using qemu_register_reset
as we do now keeps them far apart.

With this patch, PPC no longer calls the kvm_arch_ function, so
it can get removed there.  Other arches call it from their CPU
reset handler, and the function gets an ARMCPU/X86CPU/S390CPU.

Note that ARM- and s390-specific functions are called kvm_arm_*
and kvm_s390_*, while x86-specific functions are called kvm_arch_*.
That follows the convention used by the different architectures.
Changing that is the topic of a separate patch.

Reviewed-by: Gleb Natapov <gnatapov@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-05-13 13:12:40 +02:00
..
arch_dump.c target-s390x: Add missing 'static' and 'const' attributes 2014-03-27 19:22:48 +04:00
cc_helper.c exec: Change cpu_abort() argument to CPUState 2014-03-13 19:52:28 +01:00
cpu-qom.h s390/cpu: split CPU reset into architectured functions 2013-08-30 14:16:43 +02:00
cpu.c kvm: reset state from the CPU's reset method 2014-05-13 13:12:40 +02:00
cpu.h kvm: reset state from the CPU's reset method 2014-05-13 13:12:40 +02:00
fpu_helper.c exec: Change cpu_abort() argument to CPUState 2014-03-13 19:52:28 +01:00
gdbstub.c cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
helper.c s390x/helper: Added format control bit to MMU translation 2014-05-07 10:17:35 +02:00
helper.h target-s390x: Use mulu2 for mlgr insn 2013-02-23 17:25:29 +00:00
insn-data.def target-s390: Perform COMPARE AND SWAP inline 2013-01-05 12:18:46 -08:00
insn-format.def target-s390: Add format based disassassmbly infrastructure 2013-01-05 12:00:27 -08:00
int_helper.c exec: Change cpu_abort() argument to CPUState 2014-03-13 19:52:28 +01:00
interrupt.c target-s390x: Clean up cpu_inject_*() signatures 2013-02-01 02:02:20 +01:00
ioinst.c s390x/ioinst: CHSC has to set a condition code 2013-12-18 14:24:11 +01:00
ioinst.h s390x/virtio-ccw: Adapter interrupt support. 2014-03-05 09:42:05 +01:00
kvm.c kvm: reset state from the CPU's reset method 2014-05-13 13:12:40 +02:00
Makefile.objs s390: Implement dump-guest-memory support for target s390x 2013-07-30 16:12:25 +02:00
mem_helper.c cputlb: Change tlb_flush() argument to CPUState 2014-03-13 19:52:47 +01:00
misc_helper.c misc: Use cpu_physical_memory_read and cpu_physical_memory_write 2014-04-27 13:04:18 +04:00
translate.c cpu: Move breakpoints field from CPU_COMMON to CPUState 2014-03-13 19:20:47 +01:00