Searched hist:"27 e0393f15fc8bc855c6a888387ff5ffd2181089" (Results 1 – 1 of 1) sorted by relevance
/linux/arch/s390/kvm/ |
H A D | kvm-s390.c | diff 27e0393f15fc8bc855c6a888387ff5ffd2181089 Wed Jan 04 10:25:21 CET 2012 Carsten Otte <cotte@de.ibm.com> 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>
|