On Tue, Aug 29 2017 at 11:38:59 am BST, Christoffer Dall [off-list ref] wrote:
From: Eric Auger <eric.auger@redhat.com>
We want to reuse the core of the map/unmap functions for IRQ forwarding.
Let's move the computation of the hwirq in kvm_vgic_map_phys_irq and
pass the linux IRQ as parameter.
The host_irq is added to struct vgic_irq because it is needed in later
patches which manipulate the physical GIC state to support forwarded
IRQs.
We introduce kvm_vgic_map/unmap_irq which take a struct vgic_irq handle
as a parameter.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Christoffer Dall <redacted>
Acked-by: Marc Zyngier <redacted>
M.
--
Jazz is not dead. It just smells funny.