x86/hvm: remove duplicate vlapic_find_highest_isr() calls
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 7 Dec 2018 13:13:02 +0000 (13:13 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 10 Dec 2018 11:27:37 +0000 (11:27 +0000)
commit032c2208ece1774b6b176330d144edc697e2ce61
tree998f50653c5c2849c46c05e1d53027e3a0ea38cd
parent58eb90a9650a8ea73533bc2b87c13b8ca7bbe35a
x86/hvm: remove duplicate vlapic_find_highest_isr() calls

When viridian APIC assist is active, the code in vlapic_has_pending_irq()
may end up re-calling vlapic_find_highest_isr() after emulating an EOI
whereas simply moving the call after the EOI emulation removes the need
for this duplication.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/vlapic.c