ia64/xen-unstable

changeset 12249:b21ff7716f87

[HVM] More printk cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Fri Nov 03 12:32:26 2006 +0000 (2006-11-03)
parents d6795f951c42
children e5067f9b268f
files xen/arch/x86/hvm/hvm.c xen/arch/x86/hvm/vlapic.c xen/arch/x86/hvm/vmx/vmcs.c
line diff
     1.1 --- a/xen/arch/x86/hvm/hvm.c	Fri Nov 03 12:10:02 2006 +0000
     1.2 +++ b/xen/arch/x86/hvm/hvm.c	Fri Nov 03 12:32:26 2006 +0000
     1.3 @@ -337,7 +337,7 @@ void hvm_print_line(struct vcpu *v, cons
     1.4          if ( c != '\n' )
     1.5              hd->pbuf[hd->pbuf_idx++] = '\n';
     1.6          hd->pbuf[hd->pbuf_idx] = '\0';
     1.7 -        printk(XENLOG_G_DEBUG "HVM%u: %s\n", v->domain->domain_id, hd->pbuf);
     1.8 +        printk(XENLOG_G_DEBUG "HVM%u: %s", v->domain->domain_id, hd->pbuf);
     1.9          hd->pbuf_idx = 0;
    1.10      }
    1.11      spin_unlock(&hd->pbuf_lock);
     2.1 --- a/xen/arch/x86/hvm/vlapic.c	Fri Nov 03 12:10:02 2006 +0000
     2.2 +++ b/xen/arch/x86/hvm/vlapic.c	Fri Nov 03 12:32:26 2006 +0000
     2.3 @@ -801,7 +801,8 @@ static void vlapic_write(struct vcpu *v,
     2.4      break;
     2.5  
     2.6      default:
     2.7 -        printk("Local APIC Write to read-only register\n");
     2.8 +        gdprintk(XENLOG_WARNING, 
     2.9 +                 "Local APIC Write to read-only register 0x%x\n", offset);
    2.10          break;
    2.11      }
    2.12  }
     3.1 --- a/xen/arch/x86/hvm/vmx/vmcs.c	Fri Nov 03 12:10:02 2006 +0000
     3.2 +++ b/xen/arch/x86/hvm/vmx/vmcs.c	Fri Nov 03 12:32:26 2006 +0000
     3.3 @@ -360,8 +360,7 @@ static void vmx_do_launch(struct vcpu *v
     3.4      error |= __vmwrite(GUEST_TR_LIMIT, 0xff);
     3.5  
     3.6      shadow_update_paging_modes(v);
     3.7 -    printk("%s(): GUEST_CR3<=%08lx, HOST_CR3<=%08lx\n",
     3.8 -           __func__, v->arch.hvm_vcpu.hw_cr3, v->arch.cr3);
     3.9 +
    3.10      __vmwrite(GUEST_CR3, v->arch.hvm_vcpu.hw_cr3);
    3.11      __vmwrite(HOST_CR3, v->arch.cr3);
    3.12