|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86: make an error message more precise
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1228490652 0
# Node ID d206692cbcbe33305afc4879a4b3ece44a8aba93
# Parent de7fd862ada2ed079d0a5c407508eb63bb936992
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@xxxxxxxxxx>
---
xen/arch/x86/irq.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff -r de7fd862ada2 -r d206692cbcbe xen/arch/x86/irq.c
--- a/xen/arch/x86/irq.c Fri Dec 05 15:23:32 2008 +0000
+++ b/xen/arch/x86/irq.c Fri Dec 05 15:24:12 2008 +0000
@@ -623,9 +623,11 @@ int pirq_guest_bind(struct vcpu *v, int
}
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;
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86: make an error message more precise,
Xen patchbot-unstable <=
|
|
|
|
|