Thread (12 messages) flat view 12 messages, 2 authors, 2017-03-09
STALE3441d REVIEWED: 1 (0M)

1 review trailer.

[PATCH 07/10] KVM: Add documentation for KVM_CAP_NR_MEMSLOTS

From: Marc Zyngier <hidden>
Date: 2017-03-09 09:55:36
Also in: kvm, kvmarm
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

From: Linu Cherian <redacted>

Add documentation for KVM_CAP_NR_MEMSLOTS capability.

Reviewed-by: Christoffer Dall <redacted>
Signed-off-by: Linu Cherian <redacted>
Signed-off-by: Marc Zyngier <redacted>
---
 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 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
 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
-- 
2.11.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help