Documentation: KVM: fix punctuation for e.g. and i.e.
Subsystems (4)
PATCH 1/1 Documentation: KVM: fix punctuation for e.g. and i.e.
Add missing commas after "e.g." and "i.e." in the KVM API documentation to improve readability and follow standard punctuation usage.
--- Documentation/virt/kvm/api.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/virt/kvm/api.rst +3 -3
@@ -6346,12 +6346,12 @@ A KVM_MEM_GUEST_MEMFD region _must_ have a valid guest_memfd (private memory) an userspace_addr (shared memory). However, "valid" for userspace_addr simply means that the address itself must be a legal userspace address. The backing mapping for userspace_addr is not required to be valid/populated at the time of -KVM_SET_USER_MEMORY_REGION2, e.g. shared memory can be lazily mapped/allocated +KVM_SET_USER_MEMORY_REGION2, e.g., shared memory can be lazily mapped/allocated on-demand. -When mapping a gfn into the guest, KVM selects shared vs. private, i.e consumes +When mapping a gfn into the guest, KVM selects shared vs. private, i.e., consumes userspace_addr vs. guest_memfd, based on the gfn's KVM_MEMORY_ATTRIBUTE_PRIVATE -state. At VM creation time, all memory is shared, i.e. the PRIVATE attribute +state. At VM creation time, all memory is shared, i.e., the PRIVATE attribute is '0' for all gfns. Userspace can control whether memory is shared/private by toggling KVM_MEMORY_ATTRIBUTE_PRIVATE via KVM_SET_MEMORY_ATTRIBUTES as needed.
Signature · 1 line
2.43.0
Greg KH
maintainerQuoted 8 lines · Afkari Zergaw
Add missing commas after "e.g." and "i.e." in the KVM API documentation to improve readability and follow standard punctuation usage.
Signed-off-by Afkari Zergaw <[email protected]>--- Documentation/virt/kvm/api.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Any reason you forgot to cc: the actual maintainers for this file? Please always use scripts/get_maintainers.pl for who to send patches to.
thanks,
greg k-h
Quoted 14 lines · Afkari Zergaw
Add missing commas after "e.g." and "i.e." in the KVM API documentation to improve readability and follow standard punctuation usage.
Signed-off-by Afkari Zergaw <[email protected]>--- Documentation/virt/kvm/api.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)Documentation/virt/kvm/api.rst +0
-0
Documentation/virt/kvm/api.rst A KVM_MEM_GUEST_MEMFD region _must_ have a valid guest_memfd (private memory) an · line 6350
Quoted 6 lines
Documentation/virt/kvm/api.rst +1
-1@@ -6346,12 +6346,12 @@ A KVM_MEM_GUEST_MEMFD region _must_ have a valid guest_memfd (private memory) an userspace_addr (shared memory). However, "valid" for userspace_addr simply means that the address itself must be a legal userspace address. The backing mapping for userspace_addr is not required to be valid/populated at the time of -KVM_SET_USER_MEMORY_REGION2, e.g. shared memory can be lazily mapped/allocated +KVM_SET_USER_MEMORY_REGION2, e.g., shared memory can be lazily mapped/allocated on-demand.
Google says this is an America vs Britain thing.
regards,
dan carpenter