x86/hvm: only translate ISA interrupts to GSIs in virtual timers
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 27 Jul 2020 17:05:39 +0000 (19:05 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 28 Jul 2020 18:33:28 +0000 (19:33 +0100)
commitb6641f28c5932793da2877ed8b9dac4aea6305ce
tree737ad88a8e3941903eac177f2df57ab005d482fe
parentb9e9ccbb11e4c54b498d3a08e48347c3cad72944
x86/hvm: only translate ISA interrupts to GSIs in virtual timers

Only call hvm_isa_irq_to_gsi for ISA interrupts, interrupts
originating from an IO APIC pin already use a GSI and don't need to be
translated.

I haven't observed any issues from this, but I think it's better to
use it correctly.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/vpt.c