tytso / xfstests-bld

Creates a file system / storage test appliance which can be run using KVM, GCE, and Android
GNU General Public License v2.0
67 stars 46 forks source link

run-fstests/util: add riscv64 support to set_canonicalized_arch() #54

Closed ebiggers closed 1 year ago

tytso commented 1 year ago

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.)