Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jann Horn and committed by
Paolo Bonzini
bcb85c88 c24a7be2

+1 -5
+1 -5
Documentation/virtual/kvm/api.txt
··· 110 110 Parameters: machine type identifier (KVM_VM_*) 111 111 Returns: a VM fd that can be used to control the new virtual machine. 112 112 113 - The new VM has no virtual cpus and no memory. An mmap() of a VM fd 114 - will access the virtual machine's physical address space; offset zero 115 - corresponds to guest physical address zero. Use of mmap() on a VM fd 116 - is discouraged if userspace memory allocation (KVM_CAP_USER_MEMORY) is 117 - available. 113 + The new VM has no virtual cpus and no memory. 118 114 You probably want to use 0 as machine type. 119 115 120 116 In order to create user controlled virtual machines on S390, check