mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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 <jbeulich@novell.com>
This commit is contained in:
1 parent
163429c065
commit
3d9c2d2856
1 file changed
+5
-3
+5
-3
@@ -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;
|
||||
}
|
||||
|
||||