linux-kernel-test/arch/s390/kvm
Christian Borntraeger 480e5926ce [S390] kvm: fix address mode switching
598841ca99 ([S390] use gmap address
spaces for kvm guest images) changed kvm to use a separate address
space for kvm guests. This address space was switched in __vcpu_run
In some cases (preemption, page fault) there is the possibility that
this address space switch is lost.
The typical symptom was a huge amount of validity intercepts or
random guest addressing exceptions.
Fix this by doing the switch in sie_loop and sie_exit and saving the
address space in the gmap structure itself. Also use the preempt
notifier.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2011-09-20 17:07:34 +02:00
..
diag.c [S390] Replace ENOTSUPP usage with EOPNOTSUPP 2010-02-26 22:37:31 +01:00
gaccess.h [S390] Use gmap translation for accessing guest memory 2011-07-24 10:48:21 +02:00
intercept.c [S390] Use gmap translation for accessing guest memory 2011-07-24 10:48:21 +02:00
interrupt.c [S390] kvm: make sigp emerg smp capable 2011-07-24 10:48:22 +02:00
Kconfig virtio: expose for non-virtualization users too 2011-07-23 16:20:30 +09:30
kvm-s390.c [S390] kvm: fix address mode switching 2011-09-20 17:07:34 +02:00
kvm-s390.h [S390] remove kvm mmu reload on s390 2011-07-24 10:48:21 +02:00
Makefile [S390] move sie code to entry.S 2011-07-24 10:48:21 +02:00
priv.c [S390] kvm: handle tprot intercepts 2011-07-24 10:48:20 +02:00
sigp.c [S390] Use gmap translation for accessing guest memory 2011-07-24 10:48:21 +02:00