qemu-e2k/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
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
helper.c s390x/helper: Added format control bit to MMU translation 2014-05-07 10:17:35 +02:00
helper.h
insn-data.def
insn-format.def
int_helper.c exec: Change cpu_abort() argument to CPUState 2014-03-13 19:52:28 +01:00
interrupt.c
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
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