diff options
author | Haibo Xu <haibo1.xu@intel.com> | 2024-01-22 17:58:39 +0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-03-06 20:51:41 +0530 |
commit | 38f680c25ece49c1f8ff55ee78dca0ee4e1793a6 (patch) | |
tree | ca4ee6636d3e89a7845959c23241423b91e5bbc7 /samples/livepatch | |
parent | feb2c8fae3b8703408f01a8db822dd05b1a576ee (diff) |
KVM: riscv: selftests: Add exception handling support
Add the infrastructure for guest exception handling in riscv selftests.
Customized handlers can be enabled by vm_install_exception_handler(vector)
or vm_install_interrupt_handler().
The code is inspired from that of x86/arm64.
Signed-off-by: Haibo Xu <haibo1.xu@intel.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'samples/livepatch')
0 files changed, 0 insertions, 0 deletions