From mboxrd@z Thu Jan 1 00:00:00 1970 From: linucherian@gmail.com Subject: [PATCH v4 1/4] KVM: Add documentation for KVM_CAP_NR_MEMSLOTS Date: Wed, 8 Mar 2017 11:38:32 +0530 Message-ID: <1488953315-22375-2-git-send-email-linucherian@gmail.com> References: <1488953315-22375-1-git-send-email-linucherian@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 4A6AA40C58 for ; Wed, 8 Mar 2017 01:07:45 -0500 (EST) Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bPRhyIZVXdkh for ; Wed, 8 Mar 2017 01:07:44 -0500 (EST) Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 6CC2140C51 for ; Wed, 8 Mar 2017 01:07:44 -0500 (EST) Received: by mail-pf0-f195.google.com with SMTP id 67so2615223pfg.2 for ; Tue, 07 Mar 2017 22:09:07 -0800 (PST) In-Reply-To: <1488953315-22375-1-git-send-email-linucherian@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu To: christoffer.dall@linaro.org, marc.zyngier@arm.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, pbonzini@redhat.com, rkrcmar@redhat.com Cc: sunil.goutham@cavium.com, Linu Cherian List-Id: kvmarm@lists.cs.columbia.edu From: Linu Cherian Add documentation for KVM_CAP_NR_MEMSLOTS capability. Signed-off-by: Linu Cherian --- Documentation/virtual/kvm/api.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index 03145b7..7b82f1c 100644 --- a/Documentation/virtual/kvm/api.txt +++ b/Documentation/virtual/kvm/api.txt @@ -951,6 +951,10 @@ This ioctl allows the user to create or modify a guest physical memory slot. When changing an existing slot, it may be moved in the guest physical memory space, or its flags may be modified. It may not be resized. Slots may not overlap in guest physical address space. +Bits 0-15 of "slot" specifies the slot id and this value should be +less than the maximum number of user memory slots supported per VM. +The maximum allowed slots can be queried using KVM_CAP_NR_MEMSLOTS, +if this capability is supported by the architecture. If KVM_CAP_MULTI_ADDRESS_SPACE is available, bits 16-31 of "slot" specifies the address space which is being modified. They must be -- 1.9.1