diff options
author | Linu Cherian <linu.cherian@cavium.com> | 2017-03-08 01:08:32 -0500 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2017-03-09 04:13:20 -0500 |
commit | a677e7046ab5edb33d051bda60cb3be0d60a48cc (patch) | |
tree | 896119864baead9b719f11eae5ec547bf34c2cbf | |
parent | a5e1e6ca94a8cec51571fd62e3eaec269717969c (diff) |
KVM: Add documentation for KVM_CAP_NR_MEMSLOTS
Add documentation for KVM_CAP_NR_MEMSLOTS capability.
Reviewed-by: Christoffer Dall <cdall@linaro.org>
Signed-off-by: Linu Cherian <linu.cherian@cavium.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
-rw-r--r-- | Documentation/virtual/kvm/api.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index 069450938b79..3c248f772ae6 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 | |||
951 | slot. When changing an existing slot, it may be moved in the guest | 951 | slot. When changing an existing slot, it may be moved in the guest |
952 | physical memory space, or its flags may be modified. It may not be | 952 | physical memory space, or its flags may be modified. It may not be |
953 | resized. Slots may not overlap in guest physical address space. | 953 | resized. Slots may not overlap in guest physical address space. |
954 | Bits 0-15 of "slot" specifies the slot id and this value should be | ||
955 | less than the maximum number of user memory slots supported per VM. | ||
956 | The maximum allowed slots can be queried using KVM_CAP_NR_MEMSLOTS, | ||
957 | if this capability is supported by the architecture. | ||
954 | 958 | ||
955 | If KVM_CAP_MULTI_ADDRESS_SPACE is available, bits 16-31 of "slot" | 959 | If KVM_CAP_MULTI_ADDRESS_SPACE is available, bits 16-31 of "slot" |
956 | specifies the address space which is being modified. They must be | 960 | specifies the address space which is being modified. They must be |