[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] xen: allow stubdom to call unmap_domain_pirq
Hi all, there is one missing IS_PRIV/IS_PRIV_FOR change in xen to make xc_physdev_unmap_pirq work with stubdoms. Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> --- diff -r ac9d4ba48b83 xen/arch/x86/irq.c --- a/xen/arch/x86/irq.c Thu Nov 05 12:00:58 2009 +0000 +++ b/xen/arch/x86/irq.c Fri Nov 13 17:53:03 2009 +0000 @@ -1484,7 +1484,7 @@ if ( (pirq < 0) || (pirq >= d->nr_pirqs) ) return -EINVAL; - if ( !IS_PRIV(current->domain) ) + if ( !IS_PRIV_FOR(current->domain, d) ) return -EINVAL; ASSERT(spin_is_locked(&pcidevs_lock)); _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |