From: Keir Fraser Date: Fri, 5 Dec 2008 15:24:12 +0000 (+0000) Subject: x86: make an error message more precise X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14026^2~61 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3d9c2d285656561eee54d9f0d44ee03f98e2cc46;p=xen.git x86: make an error message more precise ... allowing to distinguish whether the to be added or the already existing PIRQ binding is causing the failure. Signed-off-by: Jan Beulich --- diff --git a/xen/arch/x86/irq.c b/xen/arch/x86/irq.c index e2c6453773..61c36e2874 100644 --- a/xen/arch/x86/irq.c +++ b/xen/arch/x86/irq.c @@ -623,9 +623,11 @@ int pirq_guest_bind(struct vcpu *v, int irq, int will_share) } else if ( !will_share || !action->shareable ) { - gdprintk(XENLOG_INFO, "Cannot bind IRQ %d to guest. " - "Will not share with others.\n", - irq); + gdprintk(XENLOG_INFO, "Cannot bind IRQ %d to guest. %s.\n", + irq, + will_share ? + "Others do not share" : + "Will not share with others"); rc = -EBUSY; goto unlock_out; }