kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: kvm: fix WARNINGs from api.rst
@ 2022-01-20  4:50 Wei Wang
  2022-01-20 11:20 ` Stephen Rothwell
  2022-01-20 17:13 ` Paolo Bonzini
  0 siblings, 2 replies; 3+ messages in thread
From: Wei Wang @ 2022-01-20  4:50 UTC (permalink / raw)
  To: sfr, pbonzini; +Cc: kvm, linux-kernel, Wei Wang

Use the api number 134 for KVM_GET_XSAVE2, instead of 42, which has been
used by KVM_GET_XSAVE.
Also, fix the WARNINGs of the underlines being too short.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Wei Wang <wei.w.wang@intel.com>
---
 Documentation/virt/kvm/api.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
index d3791a14eb9a..bb8cfddbb22d 100644
--- a/Documentation/virt/kvm/api.rst
+++ b/Documentation/virt/kvm/api.rst
@@ -5545,8 +5545,8 @@ the trailing ``'\0'``, is indicated by ``name_size`` in the header.
 The Stats Data block contains an array of 64-bit values in the same order
 as the descriptors in Descriptors block.
 
-4.42 KVM_GET_XSAVE2
-------------------
+4.134 KVM_GET_XSAVE2
+--------------------
 
 :Capability: KVM_CAP_XSAVE2
 :Architectures: x86
@@ -7363,7 +7363,7 @@ trap and emulate MSRs that are outside of the scope of KVM as well as
 limit the attack surface on KVM's MSR emulation code.
 
 8.28 KVM_CAP_ENFORCE_PV_FEATURE_CPUID
------------------------------
+-------------------------------------
 
 Architectures: x86
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: kvm: fix WARNINGs from api.rst
  2022-01-20  4:50 [PATCH] docs: kvm: fix WARNINGs from api.rst Wei Wang
@ 2022-01-20 11:20 ` Stephen Rothwell
  2022-01-20 17:13 ` Paolo Bonzini
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2022-01-20 11:20 UTC (permalink / raw)
  To: Wei Wang; +Cc: pbonzini, kvm, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1463 bytes --]

Hi Wei,

On Wed, 19 Jan 2022 23:50:03 -0500 Wei Wang <wei.w.wang@intel.com> wrote:
>
> Use the api number 134 for KVM_GET_XSAVE2, instead of 42, which has been
> used by KVM_GET_XSAVE.
> Also, fix the WARNINGs of the underlines being too short.
> 
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>

Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>

> Signed-off-by: Wei Wang <wei.w.wang@intel.com>
> ---
>  Documentation/virt/kvm/api.rst | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
> index d3791a14eb9a..bb8cfddbb22d 100644
> --- a/Documentation/virt/kvm/api.rst
> +++ b/Documentation/virt/kvm/api.rst
> @@ -5545,8 +5545,8 @@ the trailing ``'\0'``, is indicated by ``name_size`` in the header.
>  The Stats Data block contains an array of 64-bit values in the same order
>  as the descriptors in Descriptors block.
>  
> -4.42 KVM_GET_XSAVE2
> -------------------
> +4.134 KVM_GET_XSAVE2
> +--------------------
>  
>  :Capability: KVM_CAP_XSAVE2
>  :Architectures: x86
> @@ -7363,7 +7363,7 @@ trap and emulate MSRs that are outside of the scope of KVM as well as
>  limit the attack surface on KVM's MSR emulation code.
>  
>  8.28 KVM_CAP_ENFORCE_PV_FEATURE_CPUID
> ------------------------------
> +-------------------------------------
>  
>  Architectures: x86
>  

Thanks.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: kvm: fix WARNINGs from api.rst
  2022-01-20  4:50 [PATCH] docs: kvm: fix WARNINGs from api.rst Wei Wang
  2022-01-20 11:20 ` Stephen Rothwell
@ 2022-01-20 17:13 ` Paolo Bonzini
  1 sibling, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2022-01-20 17:13 UTC (permalink / raw)
  To: Wei Wang, sfr; +Cc: kvm, linux-kernel

On 1/20/22 05:50, Wei Wang wrote:
> Use the api number 134 for KVM_GET_XSAVE2, instead of 42, which has been
> used by KVM_GET_XSAVE.
> Also, fix the WARNINGs of the underlines being too short.
> 
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Signed-off-by: Wei Wang <wei.w.wang@intel.com>
> ---
>   Documentation/virt/kvm/api.rst | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
> index d3791a14eb9a..bb8cfddbb22d 100644
> --- a/Documentation/virt/kvm/api.rst
> +++ b/Documentation/virt/kvm/api.rst
> @@ -5545,8 +5545,8 @@ the trailing ``'\0'``, is indicated by ``name_size`` in the header.
>   The Stats Data block contains an array of 64-bit values in the same order
>   as the descriptors in Descriptors block.
>   
> -4.42 KVM_GET_XSAVE2
> -------------------
> +4.134 KVM_GET_XSAVE2
> +--------------------
>   
>   :Capability: KVM_CAP_XSAVE2
>   :Architectures: x86
> @@ -7363,7 +7363,7 @@ trap and emulate MSRs that are outside of the scope of KVM as well as
>   limit the attack surface on KVM's MSR emulation code.
>   
>   8.28 KVM_CAP_ENFORCE_PV_FEATURE_CPUID
> ------------------------------
> +-------------------------------------
>   
>   Architectures: x86
>   

Queued, thanks.

Paolo


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-20 17:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-20  4:50 [PATCH] docs: kvm: fix WARNINGs from api.rst Wei Wang
2022-01-20 11:20 ` Stephen Rothwell
2022-01-20 17:13 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).