WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

[Xen-devel] [PATCH] x86: make an error message more precise

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] x86: make an error message more precise
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: 2008年12月05日 14:33:56 +0000
Delivery-date: 2008年12月05日 06:33:14 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
... 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>
Index: 2008年11月20日/xen/arch/x86/irq.c
===================================================================
--- 2008年11月20日.orig/xen/arch/x86/irq.c 2008年11月26日 14:48:18.000000000 +0100
+++ 2008年11月20日/xen/arch/x86/irq.c 2008年12月05日 11:30:37.000000000 +0100
@@ -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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] x86: make an error message more precise, Jan Beulich <=
Previous by Date: [Xen-devel] [PATCH] cpufreq: allow customization of some parameters , Jan Beulich
Next by Date: Re: [Xen-devel] Xen, Windows 2003 and APIC , Keir Fraser
Previous by Thread: [Xen-devel] [PATCH] cpufreq: allow customization of some parameters , Jan Beulich
Next by Thread: [Xen-devel] ADs over dom0 iSCSI = high page_count() , Joshua Nicholas
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /