ia64/xen-unstable

changeset 9113:af04fef70bad

Don't compile HVM_DBG_LOG into xen by default.

Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu Mar 02 21:37:14 2006 +0100 (2006-03-02)
parents 316fafc6d743
children 29f8c87bd8fd 26af50da86b7
files xen/arch/x86/hvm/vioapic.c xen/include/asm-x86/hvm/support.h
line diff
     1.1 --- a/xen/arch/x86/hvm/vioapic.c	Thu Mar 02 21:36:03 2006 +0100
     1.2 +++ b/xen/arch/x86/hvm/vioapic.c	Thu Mar 02 21:37:14 2006 +0100
     1.3 @@ -56,8 +56,8 @@ static void ioapic_dump_redir(hvm_vioapi
     1.4  {
     1.5      RedirStatus redir = s->redirtbl[entry];
     1.6  
     1.7 -    HVM_DBG_LOG(DBG_LEVEL_IOAPIC, "ioapic_dump_redir "
     1.8 -      "entry %x vector %x deliver_mod %x destmode %x delivestatus %x "
     1.9 +    printk("ioapic_dump_redir entry %x vector %x "
    1.10 +      "deliver_mod %x destmode %x delivestatus %x "
    1.11        "polarity %x remote_irr %x trigmod %x mask %x dest_id %x\n",
    1.12        entry, redir.RedirForm.vector, redir.RedirForm.deliver_mode,
    1.13        redir.RedirForm.destmode, redir.RedirForm.delivestatus,
     2.1 --- a/xen/include/asm-x86/hvm/support.h	Thu Mar 02 21:36:03 2006 +0100
     2.2 +++ b/xen/include/asm-x86/hvm/support.h	Thu Mar 02 21:37:14 2006 +0100
     2.3 @@ -26,7 +26,11 @@
     2.4  #include <asm/regs.h>
     2.5  #include <asm/processor.h>
     2.6  
     2.7 +#ifndef NDEBUG
     2.8  #define HVM_DEBUG 1
     2.9 +#else
    2.10 +#define HVM_DEBUG 0
    2.11 +#endif
    2.12  
    2.13  #define	HVM_DOMAIN(v)	((v)->arch.guest_context.flags & VGCF_HVM_GUEST)
    2.14