summaryrefslogtreecommitdiff
path: root/Documentation/virtual
diff options
context:
space:
mode:
authorJann Horn <jannh@google.com>2017-04-24 12:16:49 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2017-04-28 21:40:52 +0300
commitbcb85c887647c0f096b51ac2ee391ea792b14b9e (patch)
tree5629af00e7945c41f9e56aaf70925576a8115c60 /Documentation/virtual
parentc24a7be2110ddac2ab75abcded76c62dccb6b1f0 (diff)
downloadlinux-bcb85c887647c0f096b51ac2ee391ea792b14b9e.tar.xz
KVM: Documentation: remove VM mmap documentation
Since commit 80f5b5e700fa9c ("KVM: remove vm mmap method"), the VM mmap handler is gone. Remove the corresponding documentation. Signed-off-by: Jann Horn <jannh@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Documentation/virtual')
-rw-r--r--Documentation/virtual/kvm/api.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt
index f038f8cafa70..4029943887a3 100644
--- a/Documentation/virtual/kvm/api.txt
+++ b/Documentation/virtual/kvm/api.txt
@@ -110,11 +110,7 @@ Type: system ioctl
Parameters: machine type identifier (KVM_VM_*)
Returns: a VM fd that can be used to control the new virtual machine.
-The new VM has no virtual cpus and no memory. An mmap() of a VM fd
-will access the virtual machine's physical address space; offset zero
-corresponds to guest physical address zero. Use of mmap() on a VM fd
-is discouraged if userspace memory allocation (KVM_CAP_USER_MEMORY) is
-available.
+The new VM has no virtual cpus and no memory.
You probably want to use 0 as machine type.
In order to create user controlled virtual machines on S390, check