I've pulled this, but it looks like there needs to be some riscv64 added to find_kernel_to_use() in run-fstests/util/parse_opt_funcs (so that running kvm-xfstests from the kernel tree will automatically find the riscv kernel) and in set_cross_compile() and get_kernel_file_info() in run-fstests/util/arch-funcs.
I'd also encourage you to check out adding support in selftests/appliance, which will exercise building a riscv kernel using cross-compilation, as well as running qemu-system-riscv from kvm-xfstests. (At this point kvm-xfstests is terribly misnamed, since it's not applicable for arm64 and now riscv, and hopefully soon powerpcle, which Ritesh has been working on.)
I've pulled this, but it looks like there needs to be some riscv64 added to find_kernel_to_use() in run-fstests/util/parse_opt_funcs (so that running kvm-xfstests from the kernel tree will automatically find the riscv kernel) and in set_cross_compile() and get_kernel_file_info() in run-fstests/util/arch-funcs.
I'd also encourage you to check out adding support in selftests/appliance, which will exercise building a riscv kernel using cross-compilation, as well as running qemu-system-riscv from kvm-xfstests. (At this point kvm-xfstests is terribly misnamed, since it's not applicable for arm64 and now riscv, and hopefully soon powerpcle, which Ritesh has been working on.)