From: Jann Horn Subject: [PATCH] KVM: Documentation: remove VM mmap documentation Date: Mon, 24 Apr 2017 11:16:49 +0200 Message-ID: <20170424091649.82993-1-jannh@google.com> Cc: kvm@vger.kernel.org, linux-doc@vger.kernel.org, Gleb Natapov To: Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Jonathan Corbet Return-path: Sender: linux-doc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Since commit 80f5b5e700fa9c ("KVM: remove vm mmap method"), the VM mmap handler is gone. Remove the corresponding documentation. Signed-off-by: Jann Horn --- Documentation/virtual/kvm/api.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index fd106899afd1..e59af374aa86 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 most certainly want to use 0 as machine type. In order to create user controlled virtual machines on S390, check -- 2.12.2.816.g2cccc81164-goog