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-changelog

[Xen-changelog] Don't compile HVM_DBG_LOG into xen by default.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Don't compile HVM_DBG_LOG into xen by default.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 03 Mar 2006 01:56:08 +0000
Delivery-date: Fri, 03 Mar 2006 01:56:48 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID af04fef70bada7326089573af3fac0183ef8bdfe
# Parent  316fafc6d74392358e85abd60eda5c6dbb991794
Don't compile HVM_DBG_LOG into xen by default.

Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx>
Signed-off-by: Jun Nakajima <jun.nakajima@xxxxxxxxx>

diff -r 316fafc6d743 -r af04fef70bad xen/arch/x86/hvm/vioapic.c
--- a/xen/arch/x86/hvm/vioapic.c        Thu Mar  2 20:36:03 2006
+++ b/xen/arch/x86/hvm/vioapic.c        Thu Mar  2 20:37:14 2006
@@ -56,8 +56,8 @@
 {
     RedirStatus redir = s->redirtbl[entry];
 
-    HVM_DBG_LOG(DBG_LEVEL_IOAPIC, "ioapic_dump_redir "
-      "entry %x vector %x deliver_mod %x destmode %x delivestatus %x "
+    printk("ioapic_dump_redir entry %x vector %x "
+      "deliver_mod %x destmode %x delivestatus %x "
       "polarity %x remote_irr %x trigmod %x mask %x dest_id %x\n",
       entry, redir.RedirForm.vector, redir.RedirForm.deliver_mode,
       redir.RedirForm.destmode, redir.RedirForm.delivestatus,
diff -r 316fafc6d743 -r af04fef70bad xen/include/asm-x86/hvm/support.h
--- a/xen/include/asm-x86/hvm/support.h Thu Mar  2 20:36:03 2006
+++ b/xen/include/asm-x86/hvm/support.h Thu Mar  2 20:37:14 2006
@@ -26,7 +26,11 @@
 #include <asm/regs.h>
 #include <asm/processor.h>
 
+#ifndef NDEBUG
 #define HVM_DEBUG 1
+#else
+#define HVM_DEBUG 0
+#endif
 
 #define        HVM_DOMAIN(v)   ((v)->arch.guest_context.flags & VGCF_HVM_GUEST)
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Don't compile HVM_DBG_LOG into xen by default., Xen patchbot -unstable <=