We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c402cb8 commit b2bc9d5Copy full SHA for b2bc9d5
tools/testing/selftests/bpf/vmtest.sh
@@ -34,6 +34,15 @@ aarch64)
34
BZIMAGE="arch/arm64/boot/Image"
35
ARCH="arm64"
36
;;
37
+riscv64)
38
+ # required qemu version v7.2.0+
39
+ QEMU_BINARY=qemu-system-riscv64
40
+ QEMU_CONSOLE="ttyS0,115200"
41
+ HOST_FLAGS=(-M virt -cpu host -enable-kvm -smp 8)
42
+ CROSS_FLAGS=(-M virt -cpu rv64,sscofpmf=true -smp 8)
43
+ BZIMAGE="arch/riscv/boot/Image"
44
+ ARCH="riscv"
45
+ ;;
46
*)
47
echo "Unsupported architecture"
48
exit 1
0 commit comments