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

Jonathan Corbet
2024-09-05T20:30:31Z

Dandan Zhang <zhangdandan@uniontech.com> writes:

> From: Bibo Mao <maobibo@loongson.cn>
>
> Add documentation topic for using pv_virt when running as a guest
> on KVM hypervisor.
>
> Signed-off-by: Bibo Mao <maobibo@loongson.cn>
> Signed-off-by: Xianglai Li <lixianglai@loongson.cn>
> Co-developed-by: Mingcong Bai <jeffbai@aosc.io>
> Signed-off-by: Mingcong Bai <jeffbai@aosc.io>
> Link: https://lore.kernel.org/all/5c338084b1bcccc1d57dce9ddb1e7081@aosc.io/
> Signed-off-by: Dandan Zhang <zhangdandan@uniontech.com>
> ---
> 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