diff options
author | Thomas Huth <thuth@linux.vnet.ibm.com> | 2015-02-06 15:01:21 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-03-17 16:26:24 +0100 |
commit | 41408c28f283b49202ae374b1c42bc8e9b33a048 (patch) | |
tree | 4acd40bb4bacc760ad3c65c82b5604145d64d437 /Documentation/dvb | |
parent | 664b4973537068402954bee6e2959b858f263a6f (diff) | |
download | linux-41408c28f283b49202ae374b1c42bc8e9b33a048.tar.bz2 |
KVM: s390: Add MEMOP ioctls for reading/writing guest memory
On s390, we've got to make sure to hold the IPTE lock while accessing
logical memory. So let's add an ioctl for reading and writing logical
memory to provide this feature for userspace, too.
The maximum transfer size of this call is limited to 64kB to prevent
that the guest can trigger huge copy_from/to_user transfers. QEMU
currently only requests up to one or two pages so far, so 16*4kB seems
to be a reasonable limit here.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'Documentation/dvb')
0 files changed, 0 insertions, 0 deletions