Re: [PATCH] target/riscv/kvm: Introduce simple handler for VS-file allocation failure

2025-07-17 Thread Bill Xiang
> Date:  Thu, Jul 17, 2025, 16:02 > Subject:  Re: [PATCH] target/riscv/kvm: Introduce simple handler for VS-file > allocation failure > To: "BillXiang" > Cc: , , , > , , > , > On Wed, Jul 16, 2025 at 03:47:37PM +0800, BillXiang wrote: > > Consider a syst

Re: [PATCH] target/riscv/kvm: Introduce simple handler for VS-file allocation failure

2025-07-17 Thread Andrew Jones
On Wed, Jul 16, 2025 at 03:47:37PM +0800, BillXiang wrote: > Consider a system with 8 harts, where each hart supports 5 > Guest Interrupt Files (GIFs), yielding 40 total GIFs. > If we launch a QEMU guest with over 5 vCPUs using > "-M virt,aia='aplic-imsic' -accel kvm,riscv-aia=hwaccel" – which > re

[PATCH] target/riscv/kvm: Introduce simple handler for VS-file allocation failure

2025-07-16 Thread BillXiang
Consider a system with 8 harts, where each hart supports 5 Guest Interrupt Files (GIFs), yielding 40 total GIFs. If we launch a QEMU guest with over 5 vCPUs using "-M virt,aia='aplic-imsic' -accel kvm,riscv-aia=hwaccel" – which relies solely on VS-files (not SW-files) for higher performance – the g