cvw/tests/linux-testgen/qemu-patches
..
cpu.c
README
virt.c

replace /qemu/target/riscv/cpu.c with the provided cpu.c
replace /qemu/hw/riscv/virt.c with the provided virt.c