Add RISC-V KVM support to syzkaller

4 views
Skip to first unread message

eanut 6

unread,
Dec 14, 2025, 10:45:57 PM (8 days ago) Dec 14
to syzk...@googlegroups.com
Hi,

I'd like to add riscv64 kvm support to syzkaller. kvm support for riscv64
has matured significantly in recent linux kernel, but sys/linux/dev_kvm.txt
doesn't include riscv64 in architecture list, which prevents syzkaller
from fuzzing kvm code on riscv64.

From my understanding, the process involves two main steps:
1. Writing syscall descriptions in syzlang (the .txt files)
2. Extracting constant values using syz-extract

I'm currently stuck at the first step. Simply adding riscv64 to the
architecture list in dev_kvm.txt won't work, as some syscalls and data
structures aren't supported on riscv64 (or have different definitions).
I noticed there are architecture-specific files like dev_kvm_amd64.txt
- should I create a separate dev_kvm_riscv64.txt file for RISC-V-specific
definitions, or is there a better approach?

I'd be happy to contribute to this effort and invest time learning the
proper way to add this support. Any guidance or pointers would be
greatly appreciated!

Best regards,
Jiakai

Taras Madan

unread,
Dec 15, 2025, 12:00:39 AM (8 days ago) Dec 15
to eanut 6, Alexander Potapenko, syzk...@googlegroups.com
Hi Jiakai,
@Alexander Potapenko presented his 2025 KVM story last week at the LPC.
There is some material available there.

BR,
Taras.

--
You received this message because you are subscribed to the Google Groups "syzkaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/syzkaller/CAFb8wJtcNowsNuHF-psFrH5CPDewS8%3DUPxh%2BEEykgSJoxQQN0Q%40mail.gmail.com.

eanut 6

unread,
Dec 15, 2025, 12:48:31 AM (8 days ago) Dec 15
to Taras Madan, Alexander Potapenko, syzk...@googlegroups.com
Awesome, thanks for the info!

Taras Madan <taras...@google.com> 于2025年12月15日周一 13:00写道:
Reply all
Reply to author
Forward
0 new messages