Re: [PATCH v12 3/4] selftests/vfio: Allow drivers without send_msi() support
From: David Matlack
Date: Mon Apr 06 2026 - 19:19:06 EST
On 2026-04-03 04:44 PM, Rubin Du wrote:
> Allow drivers that cannot trigger MSI interrupts to leave the send_msi
> callback NULL. Add an fcntl_set_msi_nonblock() wrapper that only sets
> nonblocking mode when send_msi is available, and update ASSERT_NO_MSI()
> to skip when the driver lacks MSI support. The send_msi test SKIPs and
> mix_and_match skips the MSI portion per iteration.
>
> Signed-off-by: Rubin Du <rubind@xxxxxxxxxx>
Reviewed-by: David Matlack <dmatlack@xxxxxxxxxx>