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:
Keir Fraser committed 2008-12-05 15:24:12 +00:00
1 parent 163429c065
commit 3d9c2d2856
1 file changed
+5 -3
+5 -3
View File
@@ -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;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.