]> Git Repo - linux.git/commit
KVM: S390: protvirt: Introduce instruction data area bounce buffer
authorJanosch Frank <[email protected]>
Tue, 2 Apr 2019 07:21:06 +0000 (09:21 +0200)
committerChristian Borntraeger <[email protected]>
Thu, 27 Feb 2020 18:47:11 +0000 (19:47 +0100)
commit19e1227768863a1469797c13ef8fea1af7beac2c
treea3982c53f1e0c20916d32369ca3602b18c768719
parentc8aac2344d663ec9c635ccec368341602f255f4c
KVM: S390: protvirt: Introduce instruction data area bounce buffer

Now that we can't access guest memory anymore, we have a dedicated
satellite block that's a bounce buffer for instruction data.

We re-use the memop interface to copy the instruction data to / from
userspace. This lets us re-use a lot of QEMU code which used that
interface to make logical guest memory accesses which are not possible
anymore in protected mode anyway.

Signed-off-by: Janosch Frank <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
[[email protected]: patch merging, splitting, fixing]
Signed-off-by: Christian Borntraeger <[email protected]>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/pv.c
include/uapi/linux/kvm.h
This page took 0.054578 seconds and 4 git commands to generate.