Re: [PATCH v3] Loongarch: KVM: Add KVM hypercalls documentation for LoongArch

From: Jonathan Corbet
Date: Thu Sep 05 2024 - 16:30:41 EST


Dandan Zhang <zhangdandan@xxxxxxxxxxxxx> writes:

> From: Bibo Mao <maobibo@xxxxxxxxxxx>
>
> Add documentation topic for using pv_virt when running as a guest
> on KVM hypervisor.
>
> Signed-off-by: Bibo Mao <maobibo@xxxxxxxxxxx>
> Signed-off-by: Xianglai Li <lixianglai@xxxxxxxxxxx>
> Co-developed-by: Mingcong Bai <jeffbai@xxxxxxx>
> Signed-off-by: Mingcong Bai <jeffbai@xxxxxxx>
> Link: https://lore.kernel.org/all/5c338084b1bcccc1d57dce9ddb1e7081@xxxxxxx/
> Signed-off-by: Dandan Zhang <zhangdandan@xxxxxxxxxxxxx>
> ---
> Documentation/virt/kvm/index.rst | 1 +
> .../virt/kvm/loongarch/hypercalls.rst | 89 +++++++++++++++++++
> Documentation/virt/kvm/loongarch/index.rst | 10 +++
> MAINTAINERS | 1 +
> 4 files changed, 101 insertions(+)
> create mode 100644 Documentation/virt/kvm/loongarch/hypercalls.rst
> create mode 100644 Documentation/virt/kvm/loongarch/index.rst

So this generates a nifty build error:

> Documentation/virt/kvm/loongarch/hypercalls.rst:46: ERROR: Malformed table.
> Text in column margin in table line 5.
>
> ======== ================ ================
> Register IN OUT
> ======== ================ ================
> a0 function number Return code
> a1 1st parameter -
> a2 2nd parameter -
> a3 3rd parameter -
> a4 4th parameter -
> a5 5th parameter -
> ======== ================ ================

The "====" bar for the middle column is too short. *Please* be sure
that the documentation actually builds after you make a change.

I have fixed this and applied the patch.

jon