s390x/mmu: Use ioctl for reading and writing from/to guest memory
commita9bcd1b8719dea2e91512238d810e2a0037e174d
authorThomas Huth <thuth@linux.vnet.ibm.com>
Fri, 6 Feb 2015 14:54:58 +0000 (6 15:54 +0100)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 30 Apr 2015 11:21:42 +0000 (30 13:21 +0200)
tree9f4520bf1f7267b405dbf8e4b18074af306a56cd
parentf07177a5599fb204e42a007db4820ceda1bc85ba
s390x/mmu: Use ioctl for reading and writing from/to guest memory

Add code to make use of the new ioctl for reading from / writing to
virtual guest memory. By using the ioctl, the memory accesses are now
protected with the so-called ipte-lock in the kernel.

[CH: moved error message into kvm_s390_mem_op()]
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
target-s390x/cpu.h
target-s390x/kvm.c
target-s390x/mmu_helper.c