kernel-ark/arch/s390/kvm
Heiko Carstens 59a1fa2d80 s390/kvm,tprot: use new gmap_translate() function
When out-of-memory the tprot code incorrectly injected a program check
for the guest which reported an addressing exception even if the guest
address was valid.
Let's use the new gmap_translate() which translates a guest address to
a user space address whithout the chance of running into an out-of-memory
situation.
Also make it more explicit that for -EFAULT we won't find a vma.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2013-03-07 16:21:20 -03:00
..
diag.c KVM: s390: Wire up ioeventfd. 2013-03-05 19:12:17 -03:00
gaccess.h s390/kvm,gaccess: fix guest access return code handling 2013-03-07 16:21:19 -03:00
intercept.c KVM: s390: Add support for channel I/O instructions. 2013-01-07 19:53:43 -02:00
interrupt.c Merge tag 'kvm-3.9-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2013-02-24 13:07:18 -08:00
Kconfig KVM: s390: Wire up ioeventfd. 2013-03-05 19:12:17 -03:00
kvm-s390.c KVM: s390: Wire up ioeventfd. 2013-03-05 19:12:17 -03:00
kvm-s390.h s390/kvm: Fix instruction decoding 2013-01-30 12:35:59 +02:00
Makefile KVM: s390: Wire up ioeventfd. 2013-03-05 19:12:17 -03:00
priv.c s390/kvm,tprot: use new gmap_translate() function 2013-03-07 16:21:20 -03: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