[PATCH v7 06/10] RISC-V: KVM: Enable KVM_VFIO interfaces on RISC-V arch

fangyu.yu at linux.alibaba.com fangyu.yu at linux.alibaba.com
Wed Nov 4 02:59:01 PST 2026


>Hi Fangyu,
>
>> From: Tomasz Jeznach <tjeznach at rivosinc.com>
>>
>> Enable KVM/VFIO support on RISC-V architecture.
>>
>> Signed-off-by: Tomasz Jeznach <tjeznach at rivosinc.com>
>> Signed-off-by: Andrew Jones <ajones at ventanamicro.com>
>> Signed-off-by: Fangyu Yu <fangyu.yu at linux.alibaba.com>
>> ---
>>  arch/riscv/kvm/Kconfig | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/arch/riscv/kvm/Kconfig b/arch/riscv/kvm/Kconfig
>> index f7e4d0f9b156..13552cfc2cd3 100644
>> --- a/arch/riscv/kvm/Kconfig
>> +++ b/arch/riscv/kvm/Kconfig
>> @@ -28,8 +28,10 @@ config KVM
>>  	select KVM_GENERIC_HARDWARE_ENABLING
>>  	select KVM_GENERIC_PRE_FAULT_MEMORY
>>  	select VIRT_XFER_TO_GUEST_WORK
>> +	select KVM_VFIO
>>  	select SCHED_INFO
>>  	select GUEST_PERF_EVENTS if PERF_EVENTS
>> +	select SRCU
>
>This option is now meaningless, please remove it.

Thanks for the heads-up.
I’ll remove it from the next version.

Thanks,
Fangyu

>See:
>https://lore.kernel.org/linux-riscv/20230105003813.1770367-5-paulmck@kernel.org/
>
>Thanks,
>Shuai
>
>>  	help
>>  	  Support hosting virtualized guest machines.
>>
>> --
>> 2.50.1



More information about the kvm-riscv mailing list