Skip to contentSkip to conversation

KVM: Documentation: remove VM mmap documentation

PATCH Applied Jann Horn 4 participants 5 messages Apr 24, 2017 – Apr 28, 2017

Subsystems (2)
lore
Share & tools
lore

Jann Horn

author
#0 lore raw

PATCH 1/1 KVM: Documentation: remove VM mmap documentation

Since commit 80f5b5e700fa9c ("KVM: remove vm mmap method"), the VM mmap handler is gone. Remove the corresponding documentation.

---
 Documentation/virtual/kvm/api.txt | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
Documentation/virtual/kvm/api.txt +1 -5
index fd106899afd1..e59af374aa86 100644
@@ -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
Signature · 1 line
2.12.2.816.g2cccc81164-goog
Reviewed-by on v1 1/1
#1 lore raw

Documentation/virtual/kvm/api.txt Type: system ioctl · line 113

Quoted 6 lines · Jann Horn

as no virtual cpus and no memory. An mmap() of a VM fd

Documentation/virtual/kvm/api.txt +1 -4
-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.
Signature · 3 lines
Thanks,

David
maintainer Applied
#2 lore raw
In reply to Jann Horn
Quoted 2 lines · On Mon, 24 Apr 2017 11:16:49 +0200 Jann Horn <[email protected]> wrote:

Since commit 80f5b5e700fa9c ("KVM: remove vm mmap method"), the VM mmap handler is gone. Remove the corresponding documentation.

Applied to the docs tree, thanks.

jon

maintainer
#3 lore raw
Quoted 7 lines · On Thu, 27 Apr 2017 15:40:42 -0600 Jonathan Corbet <[email protected]> wrote:
Quoted 2 lines · On Mon, 24 Apr 2017 11:16:49 +0200 Jann Horn <[email protected]> wrote:

Since commit 80f5b5e700fa9c ("KVM: remove vm mmap method"), the VM mmap handler is gone. Remove the corresponding documentation.

Applied to the docs tree, thanks.

Actually, I've unapplied it since it leads to conflicts with the kvm tree, and poor Stephen has already had to fix up too many of those for me this time around. Paolo, maybe you'd like to pick it up and reconcile things?

Thanks,

jon

maintainer
#4 lore raw
Quoted 9 lines · Jonathan Corbet
Quoted 6 lines · On Thu, 27 Apr 2017 15:40:42 -0600 Jonathan Corbet <[email protected]> wrote:
Quoted 2 lines · On Mon, 24 Apr 2017 11:16:49 +0200 Jann Horn <[email protected]> wrote:

Since commit 80f5b5e700fa9c ("KVM: remove vm mmap method"), the VM mmap handler is gone. Remove the corresponding documentation.

Quoted 6 lines
Quoted 1 line

Applied to the docs tree, thanks.

Actually, I've unapplied it since it leads to conflicts with the kvm tree, and poor Stephen has already had to fix up too many of those for me this time around. Paolo, maybe you'd like to pick it up and reconcile things?

Yes, I'll apply it for 4.12.

Paolo