[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xsm: Use mapped IRQ not PIRQ in unmap_domain_pirq
# HG changeset patch # User Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> # Date 1328195930 0 # Node ID eaffacbba1d527a56d7bd52132e1b09a75dc624e # Parent 1bc1e8eb9ce97aa24f08a9a44969f638a5765070 xsm: Use mapped IRQ not PIRQ in unmap_domain_pirq XSM permissions are defined in terms of IRQs, not PIRQs; use the correct number when checking permission in unmap_domain_pirq. Signed-off-by: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> Committed-by: Keir Fraser <keir@xxxxxxx> --- diff -r 1bc1e8eb9ce9 -r eaffacbba1d5 xen/arch/x86/physdev.c --- a/xen/arch/x86/physdev.c Thu Feb 02 15:18:19 2012 +0000 +++ b/xen/arch/x86/physdev.c Thu Feb 02 15:18:50 2012 +0000 @@ -239,7 +239,7 @@ if ( !IS_PRIV_FOR(current->domain, d) ) goto free_domain; - ret = xsm_irq_permission(d, pirq, 0); + ret = xsm_irq_permission(d, domain_pirq_to_irq(d, pirq), 0); if ( ret ) goto free_domain; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |