[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xen: allow stubdom to call unmap_domain_pirq
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1258149560 0 # Node ID e39cec51aebc38fa7c464c867c21c4c3a7ffb1ef # Parent dd951d96304a8c036e3f2a076a7b1240696f9032 xen: allow stubdom to call unmap_domain_pirq 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> --- xen/arch/x86/irq.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r dd951d96304a -r e39cec51aebc xen/arch/x86/irq.c --- a/xen/arch/x86/irq.c Fri Nov 13 21:58:30 2009 +0000 +++ b/xen/arch/x86/irq.c Fri Nov 13 21:59:20 2009 +0000 @@ -1501,7 +1501,7 @@ int unmap_domain_pirq(struct domain *d, 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-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |