diff options
author | Andrew Jones <ajones@ventanamicro.com> | 2023-08-03 13:33:01 -0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2023-08-08 17:26:00 +0530 |
commit | 1deaf754f5310e348e6386e75b7f16a0089fa3b7 (patch) | |
tree | 666f2644031661926708c1365bb663f302c621b6 /tools/testing/selftests/kvm/lib/test_util.c | |
parent | 1099c80906d358db542c64aba370291ae4b932b7 (diff) |
RISC-V: KVM: Improve vector save/restore errors
kvm_riscv_vcpu_(get/set)_reg_vector() now returns ENOENT if V is not
available, EINVAL if reg type is not of VECTOR type, and any error that
might be thrown by kvm_riscv_vcpu_vreg_addr().
Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/test_util.c')
0 files changed, 0 insertions, 0 deletions