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 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] [PATCH] [IA64] tidy up vcpu_set_itc error message

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH] [IA64] tidy up vcpu_set_itc error message
From: Horms <horms@xxxxxxxxxxxx>
Date: Wed, 27 Dec 2006 13:26:44 +0900
Delivery-date: Tue, 26 Dec 2006 21:01:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: mutt-ng/devel-r804 (Debian)
This patch enhances the error message in question in two minor ways

* typo fix: one -> once
* Print the entire message at once, otherwise it
  seems to end up geting interlaced with other dom0 kernel
  messages on the console (on my system at least).

Signed-Off-By: Simon Horman <horms@xxxxxxxxxxxx>

diff -r 80c5b5914b79 xen/arch/ia64/xen/vcpu.c
--- a/xen/arch/ia64/xen/vcpu.c  Wed Dec 20 14:55:02 2006 -0700
+++ b/xen/arch/ia64/xen/vcpu.c  Wed Dec 27 13:16:15 2006 +0900
@@ -1208,8 +1208,8 @@ IA64FAULT vcpu_set_itc(VCPU * vcpu, u64 
 #ifdef DISALLOW_SETTING_ITC_FOR_NOW
        static int did_print;
        if (!did_print) {
-               printk("vcpu_set_itc: Setting ar.itc is currently disabled\n");
-               printk("(this message is only displayed one)\n");
+               printk("vcpu_set_itc: Setting ar.itc is currently disabled "
+                      "(this message is only displayed once)\n");
                did_print = 1;
        }
 #else

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] [PATCH] [IA64] tidy up vcpu_set_itc error message, Horms <=