2023-04-04 10:18:05

by Takahiro Itazuri

[permalink] [raw]
Subject: [PATCH v4] docs: kvm: x86: Fix broken field list

Add missing ":" to fix a broken field list.

Fixes: ba7bb663f554 ("KVM: x86: Provide per VM capability for disabling PMU virtualization")
Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Takahiro Itazuri <[email protected]>
---
v3 -> v4
* Add "Reported-by:" tag.
* Link to v3: https://lore.kernel.org/all/[email protected]/

v2 -> v3
* Add another missing ":"
* Link to v2: https://lore.kernel.org/all/[email protected]/

v1 -> v2
* Fix commit message to say "Do foo" instead of "This commit does foo".
* Add "Fixes:" tag.
* Link to v1: https://lore.kernel.org/all/[email protected]/

Documentation/virt/kvm/api.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
index 62de0768d6aa..a5c803f39832 100644
--- a/Documentation/virt/kvm/api.rst
+++ b/Documentation/virt/kvm/api.rst
@@ -8296,11 +8296,11 @@ ENOSYS for the others.
8.35 KVM_CAP_PMU_CAPABILITY
---------------------------

-:Capability KVM_CAP_PMU_CAPABILITY
+:Capability: KVM_CAP_PMU_CAPABILITY
:Architectures: x86
:Type: vm
:Parameters: arg[0] is bitmask of PMU virtualization capabilities.
-:Returns 0 on success, -EINVAL when arg[0] contains invalid bits
+:Returns: 0 on success, -EINVAL when arg[0] contains invalid bits

This capability alters PMU virtualization in KVM.

--
2.38.0


2023-04-10 22:56:24

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH v4] docs: kvm: x86: Fix broken field list

Takahiro Itazuri <[email protected]> writes:

> Add missing ":" to fix a broken field list.
>
> Fixes: ba7bb663f554 ("KVM: x86: Provide per VM capability for disabling PMU virtualization")
> Reported-by: kernel test robot <[email protected]>
> Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
> Signed-off-by: Takahiro Itazuri <[email protected]>
> ---
> v3 -> v4
> * Add "Reported-by:" tag.
> * Link to v3: https://lore.kernel.org/all/[email protected]/
>
> v2 -> v3
> * Add another missing ":"
> * Link to v2: https://lore.kernel.org/all/[email protected]/
>
> v1 -> v2
> * Fix commit message to say "Do foo" instead of "This commit does foo".
> * Add "Fixes:" tag.
> * Link to v1: https://lore.kernel.org/all/[email protected]/
>
> Documentation/virt/kvm/api.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
> index 62de0768d6aa..a5c803f39832 100644
> --- a/Documentation/virt/kvm/api.rst
> +++ b/Documentation/virt/kvm/api.rst
> @@ -8296,11 +8296,11 @@ ENOSYS for the others.
> 8.35 KVM_CAP_PMU_CAPABILITY
> ---------------------------
>
> -:Capability KVM_CAP_PMU_CAPABILITY
> +:Capability: KVM_CAP_PMU_CAPABILITY
> :Architectures: x86
> :Type: vm
> :Parameters: arg[0] is bitmask of PMU virtualization capabilities.
> -:Returns 0 on success, -EINVAL when arg[0] contains invalid bits
> +:Returns: 0 on success, -EINVAL when arg[0] contains invalid bits

Applied, thanks.

jon