qemu/target-s390x
Jason J. Herne 420840e58b Allow selective runtime register synchronization
We want to avoid expensive register synchronization IOCTL's on the hot path so
a new kvm_s390_get_registers_partial() is introduced as a compliment to
kvm_arch_get_registers().  The new function is called on the hot path, and
kvm_arch_get_registers() is called when we need the complete runtime register
state.

kvm_arch_put_registers() is updated to only sync the partial runtime set when
we've only dirtied the partial runtime set.  This is to avoid sending bad data
back to KVM if we've only partially synced the runtime register set.

Signed-off-by: Jason J. Herne <jjherne@us.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2013-04-26 20:18:24 +02:00
..
cc_helper.c target-s390: Convert IPM 2013-01-05 12:18:42 -08:00
cpu-qom.h cpu: Replace do_interrupt() by CPUClass::do_interrupt method 2013-03-12 10:35:55 +01:00
cpu.c cpu: Replace do_interrupt() by CPUClass::do_interrupt method 2013-03-12 10:35:55 +01:00
cpu.h Allow selective runtime register synchronization 2013-04-26 20:18:24 +02:00
fpu_helper.c target-s390: Implement LOAD/SET FP AND SIGNAL 2013-01-05 12:18:45 -08:00
helper.c cpu: Replace do_interrupt() by CPUClass::do_interrupt method 2013-03-12 10:35:55 +01: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 s390x: use CONFIG_INT128 to detect __uint128_t 2013-04-26 11:58:14 +02:00
interrupt.c target-s390x: Clean up cpu_inject_*() signatures 2013-02-01 02:02:20 +01:00
ioinst.c s390/css: Fix subchannel detection 2013-03-08 21:17:46 +01:00
ioinst.h s390: Fix handling of iscs. 2013-02-13 11:56:02 -06:00
kvm.c Allow selective runtime register synchronization 2013-04-26 20:18:24 +02:00
Makefile.objs target-s390x: Mark as unmigratable 2013-02-01 01:35:22 +01:00
mem_helper.c Typo, spelling and grammatical fixes 2013-04-12 14:33:20 +02:00
misc_helper.c s390: Add a hypercall registration interface. 2013-01-18 19:07:47 +01:00
translate.c target-s390: Fix SRNMT 2013-04-05 14:54:11 +02:00