Christian Borntraeger 480e5926ce [S390] kvm: fix address mode switching
598841ca9919d008b520114d8a4378c4ce4e40a1 ([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
..
2008-12-25 13:38:55 +01:00
2011-03-31 11:26:23 -03:00
2010-02-26 22:37:29 +01:00
2011-05-26 09:48:25 +02:00
2011-05-23 10:24:28 +02:00
2008-12-25 13:39:06 +01:00
2011-08-03 16:44:19 +02:00
2011-05-26 09:48:24 +02:00
2008-12-25 13:38:57 +01:00
2011-04-04 13:43:16 -04:00
2010-10-24 10:51:30 +02:00
2010-06-09 11:12:36 +02:00
2009-09-22 07:17:42 -07:00
2011-07-24 10:48:21 +02:00
2011-07-26 16:49:43 -07:00
2011-06-06 14:14:56 +02:00
2009-06-12 10:27:31 +02:00
2010-08-09 16:48:44 -04:00
2011-07-24 10:48:21 +02:00
2011-03-23 19:47:18 -07:00
2011-05-28 10:48:39 -07:00
2009-03-26 15:24:05 +01:00