]> xenbits.xensource.com Git - xen.git/commit
x86/FLASK: fix unmap-domain-IRQ XSM hook
authorJan Beulich <jbeulich@suse.com>
Thu, 12 Oct 2017 12:37:56 +0000 (14:37 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 12 Oct 2017 12:37:56 +0000 (14:37 +0200)
commit6f17f5c43a3bd28d27ed8133b2bf513e2eab7d59
tree2db48e510f026b21acb0a4a815e987db0fe682ea
parent573ac7b22aba9e5b8d40d9cdccd744af57cd5928
x86/FLASK: fix unmap-domain-IRQ XSM hook

The caller and the FLASK implementation of xsm_unmap_domain_irq()
disagreed about what the "data" argument points to in the MSI case:
Change both sides to pass/take a PCI device.

This is part of XSA-237.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/irq.c
xen/xsm/flask/hooks.c