RISC-V: KVM: Document RISC-V specific parts of KVM API
authorAnup Patel <anup.patel@wdc.com>
Mon, 27 Sep 2021 11:40:15 +0000 (17:10 +0530)
committerAnup Patel <anup@brainfault.org>
Mon, 4 Oct 2021 10:42:34 +0000 (16:12 +0530)
commitda40d85805937d6721b430dacfa2aaa44e3dcfb5
treecde39781a79d850ad49c5436dabe80b0561cd353
parentdea8ee31a039277576c215fffa13957970246366
RISC-V: KVM: Document RISC-V specific parts of KVM API

Document RISC-V specific parts of the KVM API, such as:
 - The interrupt numbers passed to the KVM_INTERRUPT ioctl.
 - The states supported by the KVM_{GET,SET}_MP_STATE ioctls.
 - The registers supported by the KVM_{GET,SET}_ONE_REG interface
   and the encoding of those register ids.
 - The exit reason KVM_EXIT_RISCV_SBI for SBI calls forwarded to
   userspace tool.

CC: Jonathan Corbet <corbet@lwn.net>
CC: linux-doc@vger.kernel.org
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Acked-by: Palmer Dabbelt <palmerdabbelt@google.com>
Documentation/virt/kvm/api.rst