mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
xen/arm: gic_route_irq_to_guest: Honor the priority given in parameter
The priority is already hardcoded in route_irq_to_guest and therefore can't be controlled by the guest. Signed-off-by: Julien Grall <julien.grall@linaro.org> Acked-by: Stefano Stabellini <stefano.stabellini@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
1 parent
3998a3ce50
commit
7f88bfeeea
1 file changed
+1
-1
+1
-1
@@ -152,7 +152,7 @@ int gic_route_irq_to_guest(struct domain *d, unsigned int virq,
|
||||
desc->handler = gic_hw_ops->gic_guest_irq_type;
|
||||
set_bit(_IRQ_GUEST, &desc->status);
|
||||
|
||||
gic_set_irq_properties(desc, cpumask_of(v_target->processor), GIC_PRI_IRQ);
|
||||
gic_set_irq_properties(desc, cpumask_of(v_target->processor), priority);
|
||||
|
||||
p->desc = desc;
|
||||
res = 0;
|
||||
|
||||