* [PATCH] xen: allow stubdom to call unmap_domain_pirq
@ 2009-11-13 18:01 Stefano Stabellini
0 siblings, 0 replies; only message in thread
From: Stefano Stabellini @ 2009-11-13 18:01 UTC (permalink / raw)
To: xen-devel
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@eu.citrix.com>
---
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));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-13 18:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-13 18:01 [PATCH] xen: allow stubdom to call unmap_domain_pirq Stefano Stabellini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.