All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] RISCV: Add KVM_GET_REG_LIST API
@ 2023-05-11  9:22 ` Haibo Xu
  0 siblings, 0 replies; 42+ messages in thread
From: Haibo Xu @ 2023-05-11  9:22 UTC (permalink / raw)
  To: kvm-riscv

KVM_GET_REG_LIST will dump all register IDs that are available to
KVM_GET/SET_ONE_REG and It's very useful to identify some platform
regression issue during VM migration.

Patch 1 enabled the KVM_GET_REG_LIST API in riscv and patch 2 added
the corresponding kselftest for checking possible register regressions.

Both patches were ported from arm64 and tested with Linux 6.4-rc1 on a
Qemu riscv virt machine.

Haibo Xu (2):
  riscv: kvm: Add KVM_GET_REG_LIST API support
  KVM: selftests: Add riscv get-reg-list test

 Documentation/virt/kvm/api.rst                |   2 +-
 arch/riscv/kvm/vcpu.c                         | 346 +++++++
 tools/testing/selftests/kvm/Makefile          |   3 +
 .../selftests/kvm/include/riscv/processor.h   |   3 +
 .../selftests/kvm/riscv/get-reg-list.c        | 869 ++++++++++++++++++
 5 files changed, 1222 insertions(+), 1 deletion(-)
 create mode 100644 tools/testing/selftests/kvm/riscv/get-reg-list.c

-- 
2.34.1



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

end of thread, other threads:[~2023-05-18  8:10 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-11  9:22 [PATCH 0/2] RISCV: Add KVM_GET_REG_LIST API Haibo Xu
2023-05-11  9:22 ` Haibo Xu
2023-05-11  9:22 ` Haibo Xu
2023-05-11  9:22 ` [PATCH 1/2] riscv: kvm: Add KVM_GET_REG_LIST API support Haibo Xu
2023-05-11  9:22   ` Haibo Xu
2023-05-11  9:22   ` Haibo Xu
2023-05-11 10:44   ` Andrew Jones
2023-05-11 10:44     ` Andrew Jones
2023-05-11 10:44     ` Andrew Jones
2023-05-15  6:21     ` Haibo Xu
2023-05-15  6:21       ` Haibo Xu
2023-05-15  6:21       ` Haibo Xu
2023-05-11 16:40   ` Andrew Jones
2023-05-11 16:40     ` Andrew Jones
2023-05-11 16:40     ` Andrew Jones
2023-05-15  6:23     ` Haibo Xu
2023-05-15  6:23       ` Haibo Xu
2023-05-15  6:23       ` Haibo Xu
2023-05-11 22:25   ` Conor Dooley
2023-05-11 22:25     ` Conor Dooley
2023-05-11 22:25     ` Conor Dooley
2023-05-11 22:48     ` Conor Dooley
2023-05-11 22:48       ` Conor Dooley
2023-05-11 22:48       ` Conor Dooley
2023-05-15  6:24       ` Haibo Xu
2023-05-15  6:24         ` Haibo Xu
2023-05-15  6:24         ` Haibo Xu
2023-05-11  9:22 ` [PATCH 2/2] KVM: selftests: Add riscv get-reg-list test Haibo Xu
2023-05-11  9:22   ` Haibo Xu
2023-05-11  9:22   ` Haibo Xu
2023-05-17 11:06   ` Andrew Jones
2023-05-17 11:06     ` Andrew Jones
2023-05-17 11:06     ` Andrew Jones
2023-05-18  4:17     ` Haibo Xu
2023-05-18  4:17       ` Haibo Xu
2023-05-18  4:17       ` Haibo Xu
2023-05-18  7:32       ` Andrew Jones
2023-05-18  7:32         ` Andrew Jones
2023-05-18  7:32         ` Andrew Jones
2023-05-18  8:10         ` Haibo Xu
2023-05-18  8:10           ` Haibo Xu
2023-05-18  8:10           ` Haibo Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.