Top word writes just update the destination of the interrupt, but
since there's no change on the masking or the triggering mode no
guest interrupt injection can result of such write. Add an assert to
that effect.
Requested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
!ent.fields.remote_irr &&
hvm_irq->gsi_assert_count[gsi] )
{
+ /* A top word write should never trigger an interrupt injection. */
+ ASSERT(!top_word);
pent->fields.remote_irr = 1;
vioapic_deliver(vioapic, idx);
}