Re: [PATCH v3 12/16] KVM: selftests: Verify non-postable IRQ remapping

From: Sean Christopherson

Date: Tue May 26 2026 - 22:13:47 EST


On Tue, Apr 21, 2026, Josh Hilke wrote:
> - for (j = 0; j < nr_vcpus; j++)
> + for (j = 0; j < nr_vcpus; j++) {
> TEST_ASSERT(
> !SYNC_FROM_GUEST_AND_READ(vm, guest_received_irq[vcpus[j]->id]),
> "IRQ flag for vCPU %d not clear prior to test",
> vcpus[j]->id);
> + TEST_ASSERT(

A very special kind of hell.

> + !SYNC_FROM_GUEST_AND_READ(vm, guest_received_nmi[vcpus[j]->id]),

Add a macro for this one too?

> + "NMI flag for vCPU %d not clear prior to test",
> + vcpus[j]->id);
> + }