linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] KVM: Documentation: rectify rst markup in kvm_run->flags
@ 2021-02-26  7:55 Chenyi Qiang
  2021-02-26  8:03 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Chenyi Qiang @ 2021-02-26  7:55 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: Stephen Rothwell, Jonathan Corbet, kvm, linux-kernel

Commit c32b1b896d2a ("KVM: X86: Add the Document for
KVM_CAP_X86_BUS_LOCK_EXIT") added a new flag in kvm_run->flags
documentation, and caused warning in make htmldocs:

  Documentation/virt/kvm/api.rst:5004: WARNING: Unexpected indentation
  Documentation/virt/kvm/api.rst:5004: WARNING: Inline emphasis start-string without end-string

Fix this rst markup issue.

Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
---
 Documentation/virt/kvm/api.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
index aed52b0fc16e..0717bf523034 100644
--- a/Documentation/virt/kvm/api.rst
+++ b/Documentation/virt/kvm/api.rst
@@ -5000,7 +5000,8 @@ local APIC is not used.
 	__u16 flags;
 
 More architecture-specific flags detailing state of the VCPU that may
-affect the device's behavior. Current defined flags:
+affect the device's behavior. Current defined flags::
+
   /* x86, set if the VCPU is in system management mode */
   #define KVM_RUN_X86_SMM     (1 << 0)
   /* x86, set if bus lock detected in VM */
-- 
2.17.1


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

* Re: [PATCH] KVM: Documentation: rectify rst markup in kvm_run->flags
  2021-02-26  7:55 [PATCH] KVM: Documentation: rectify rst markup in kvm_run->flags Chenyi Qiang
@ 2021-02-26  8:03 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2021-02-26  8:03 UTC (permalink / raw)
  To: Chenyi Qiang; +Cc: Stephen Rothwell, Jonathan Corbet, kvm, linux-kernel

On 26/02/21 08:55, Chenyi Qiang wrote:
> Commit c32b1b896d2a ("KVM: X86: Add the Document for
> KVM_CAP_X86_BUS_LOCK_EXIT") added a new flag in kvm_run->flags
> documentation, and caused warning in make htmldocs:
> 
>    Documentation/virt/kvm/api.rst:5004: WARNING: Unexpected indentation
>    Documentation/virt/kvm/api.rst:5004: WARNING: Inline emphasis start-string without end-string
> 
> Fix this rst markup issue.
> 
> Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
> ---
>   Documentation/virt/kvm/api.rst | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
> index aed52b0fc16e..0717bf523034 100644
> --- a/Documentation/virt/kvm/api.rst
> +++ b/Documentation/virt/kvm/api.rst
> @@ -5000,7 +5000,8 @@ local APIC is not used.
>   	__u16 flags;
>   
>   More architecture-specific flags detailing state of the VCPU that may
> -affect the device's behavior. Current defined flags:
> +affect the device's behavior. Current defined flags::
> +
>     /* x86, set if the VCPU is in system management mode */
>     #define KVM_RUN_X86_SMM     (1 << 0)
>     /* x86, set if bus lock detected in VM */
> 

Queued, thanks.

Paolo


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

end of thread, other threads:[~2021-02-26  8:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-26  7:55 [PATCH] KVM: Documentation: rectify rst markup in kvm_run->flags Chenyi Qiang
2021-02-26  8:03 ` 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).