From patchwork Mon Apr 24 09:16:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jann Horn X-Patchwork-Id: 9695901 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D402F601E9 for ; Mon, 24 Apr 2017 09:17:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C166E26C9B for ; Mon, 24 Apr 2017 09:17:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B25D327FE4; Mon, 24 Apr 2017 09:17:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D25A26C9B for ; Mon, 24 Apr 2017 09:17:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1167737AbdDXJRp (ORCPT ); Mon, 24 Apr 2017 05:17:45 -0400 Received: from mail-wm0-f45.google.com ([74.125.82.45]:38789 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1167701AbdDXJRm (ORCPT ); Mon, 24 Apr 2017 05:17:42 -0400 Received: by mail-wm0-f45.google.com with SMTP id r190so61518700wme.1 for ; Mon, 24 Apr 2017 02:17:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=TiwduZ3a2s+UalqScd2wDP3rl2ZVd199zN6vHFrH2uQ=; b=sSWS3fX2TTL1PuFgw4yDGwR9wwMbD+eeyLLLDI1vZzyi3uPYBcxgF2XlcStcKQnwOx BTKF4tIczPZvnM9FJ08n3t7rASy0Bjn7QwyRRzvVaBJ9r/RPtNhAojwdh35aiHB4SLCw 0eIgBeOvG2VQoIitsilugayCm/cSDij2qSRjA2QFxJkfvHAwSQ8yzVJpp2ehJ7MjfZzh gbpSwm+GnrjBrQkI5FdSmsgae4ykGKW2uey6RqEq3YWRu4ZWeHZ97gU5aSteHJXj0Nkq m8GnhHWYBlmc+cAyhL4jjj9MJ3dtgI2xaIDQ2ALW4cOH2goIVvI2Zwy9Ix9cxaWGHcqQ /QTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=TiwduZ3a2s+UalqScd2wDP3rl2ZVd199zN6vHFrH2uQ=; b=kJArh7z/+ytp3+KQIsoxvi7ksoTaaqImw98OEVEComjbiOg83J6PZsRTO5dynfxY8O DBUjPzgNMNLI9ST1JC2uyp+T1UrogcG+Ex7yT1KP+UNLcVIwvT6SbCs/cwA9PiUNJazb BTgERuPPtX6weOWDGwMTWuD2v4vCg8O9MWirPe5ARHCBbFKaGgOes3tmCghOhCme7yFF TESYkFP8YhvRh1nPyaOxGQXMvx2mrd0+67YGRwOm90J1gOfbWE//ZZoUHguKRX/lbqZY WpzqbLYkV3lfwmd54F5ggYP5JZGcKp/26lE1DHadpqRSFdDyIdD9JRYu7bur8nK5LjVI UJAw== X-Gm-Message-State: AN3rC/5yXIo8BBRBYfa31bO/TGQ4YT4t632EdN0tqFUaIPnXGTaIJQ8Z AJQ9ezi5DBwjd2RTgUjwoBBj X-Received: by 10.28.178.17 with SMTP id b17mr8449811wmf.23.1493025460097; Mon, 24 Apr 2017 02:17:40 -0700 (PDT) Received: from jannh.zrh.corp.google.com ([100.105.134.30]) by smtp.gmail.com with ESMTPSA id e27sm21602722wra.21.2017.04.24.02.17.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Apr 2017 02:17:39 -0700 (PDT) From: Jann Horn To: Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Jonathan Corbet Cc: kvm@vger.kernel.org, linux-doc@vger.kernel.org, Gleb Natapov 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> X-Mailer: git-send-email 2.12.2.816.g2cccc81164-goog Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since commit 80f5b5e700fa9c ("KVM: remove vm mmap method"), the VM mmap handler is gone. Remove the corresponding documentation. Signed-off-by: Jann Horn Reviewed-by: David Hildenbrand --- 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