]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] Use gmap translation for accessing guest memory
authorCarsten Otte <cotte@de.ibm.com>
Sun, 24 Jul 2011 08:48:22 +0000 (10:48 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Sun, 24 Jul 2011 08:48:21 +0000 (10:48 +0200)
commit527fc2a093ec83e08f0ee0a663f3571ad3bb5a96
tree2960d3ef459eccd0c2a7d0e2a77fad9bdb2437f2
parent6400b493ec2ce4a904c1e6af91f236ed7b882394
[S390] Use gmap translation for accessing guest memory

This patch removes kvm-s390 internal assumption of a linear mapping
of guest address space to user space. Previously, guest memory was
translated to user addresses using a fixed offset (gmsor). The new
code uses gmap_fault to resolve guest addresses.

Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/gaccess.h
arch/s390/kvm/intercept.c
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/kvm-s390.h
arch/s390/kvm/sigp.c