linux/arch/s390/kvm
Christian Borntraeger 15bc8d8457 s390/kvm: Fix store status for ACRS/FPRS
On store status we need to copy the current state of registers
into a save area. Currently we might save stale versions:
The sie state descriptor doesnt have fields for guest ACRS,FPRS,
those registers are simply stored in the host registers. The host
program must copy these away if needed. We do that in vcpu_put/load.

If we now do a store status in KVM code between vcpu_put/load, the
saved values are not up-to-date. Lets collect the ACRS/FPRS before
saving them.

This also fixes some strange problems with hotplug and virtio-ccw,
since the low level machine check handler (on hotplug a machine check
will happen) will revalidate all registers with the content of the
save area.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
CC: stable@vger.kernel.org
Signed-off-by: Gleb Natapov <gleb@redhat.com>
2013-01-30 12:35:51 +02:00
..
diag.c KVM: s390: Add implementation-specific trace events 2012-07-26 14:04:35 +03:00
gaccess.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
intercept.c KVM: s390: Add support for channel I/O instructions. 2013-01-07 19:53:43 -02:00
interrupt.c KVM: s390: Add support for channel I/O instructions. 2013-01-07 19:53:43 -02:00
Kconfig KVM updates for the 3.7 merge window 2012-10-04 09:30:33 -07:00
kvm-s390.c s390/kvm: Fix store status for ACRS/FPRS 2013-01-30 12:35:51 +02:00
kvm-s390.h KVM: s390: Add support for channel I/O instructions. 2013-01-07 19:53:43 -02:00
Makefile [S390] move sie code to entry.S 2011-07-24 10:48:21 +02:00
priv.c KVM: s390: Add support for channel I/O instructions. 2013-01-07 19:53:43 -02:00
sigp.c KVM: s390: kvm/sigp.c: fix memory leakage 2013-01-17 08:41:48 +02:00
trace-s390.h KVM: s390: Add support for channel I/O instructions. 2013-01-07 19:53:43 -02:00
trace.h KVM: s390: Add architectural trace events 2012-07-26 14:04:34 +03:00