diff options
author | Carsten Otte <cotte@de.ibm.com> | 2012-01-04 10:25:21 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-03-05 14:52:18 +0200 |
commit | 27e0393f15fc8bc855c6a888387ff5ffd2181089 (patch) | |
tree | 7dd5f6f49f6e11ee5cfbbc4d00fb39f649caa61b /include/linux/affs_hardblocks.h | |
parent | e08b96371625aaa84cb03f51acc4c8e0be27403a (diff) | |
download | linux-3.10-27e0393f15fc8bc855c6a888387ff5ffd2181089.tar.gz linux-3.10-27e0393f15fc8bc855c6a888387ff5ffd2181089.tar.bz2 linux-3.10-27e0393f15fc8bc855c6a888387ff5ffd2181089.zip |
KVM: s390: ucontrol: per vcpu address spaces
This patch introduces two ioctls for virtual cpus, that are only
valid for kernel virtual machines that are controlled by userspace.
Each virtual cpu has its individual address space in this mode of
operation, and each address space is backed by the gmap
implementation just like the address space for regular KVM guests.
KVM_S390_UCAS_MAP allows to map a part of the user's virtual address
space to the vcpu. Starting offset and length in both the user and
the vcpu address space need to be aligned to 1M.
KVM_S390_UCAS_UNMAP can be used to unmap a range of memory from a
virtual cpu in a similar way.
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux/affs_hardblocks.h')
0 files changed, 0 insertions, 0 deletions