Re: [RFC PATCH 11/25] accel/mshv: Add basic interrupt injection support

2025-05-27 Thread Magnus Kulke
On Tue, May 20, 2025 at 08:15:20PM +, Wei Liu wrote: > On Tue, May 20, 2025 at 01:30:04PM +0200, Magnus Kulke wrote: > > Implement initial interrupt handling logic in the MSHV backend. This > > includes management of MSI and un/registering of irqfd mechanisms. > > > > Signed-off-by: Magnus Kul

Re: [RFC PATCH 11/25] accel/mshv: Add basic interrupt injection support

2025-05-20 Thread Wei Liu
On Tue, May 20, 2025 at 01:30:04PM +0200, Magnus Kulke wrote: > Implement initial interrupt handling logic in the MSHV backend. This > includes management of MSI and un/registering of irqfd mechanisms. > > Signed-off-by: Magnus Kulke > --- [...] > +int mshv_request_interrupt(int vm_fd, uint32_t i

[RFC PATCH 11/25] accel/mshv: Add basic interrupt injection support

2025-05-20 Thread Magnus Kulke
Implement initial interrupt handling logic in the MSHV backend. This includes management of MSI and un/registering of irqfd mechanisms. Signed-off-by: Magnus Kulke --- accel/mshv/irq.c| 370 accel/mshv/meson.build | 1 + accel/mshv/mshv-all.c

Re: [RFC PATCH 11/25] accel/mshv: Add basic interrupt injection support

2025-05-20 Thread Paolo Bonzini
On 5/20/25 13:30, Magnus Kulke wrote: diff --git a/include/system/mshv.h b/include/system/mshv.h index c7ee4f0cc1..4c1e901835 100644 --- a/include/system/mshv.h +++ b/include/system/mshv.h @@ -40,6 +40,10 @@ */ #define MSHV_USE_IOEVENTFD 1 +#define MSHV_USE_KERNEL_GSI_IRQFD 1 Please mak