[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [HVM] More printk cleanups.
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Node ID b21ff7716f8719e44e4070fbdf02b020146429d5 # Parent d6795f951c42fb1b385b1362c09d6ccd6f855516 [HVM] More printk cleanups. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> --- xen/arch/x86/hvm/hvm.c | 2 +- xen/arch/x86/hvm/vlapic.c | 3 ++- xen/arch/x86/hvm/vmx/vmcs.c | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff -r d6795f951c42 -r b21ff7716f87 xen/arch/x86/hvm/hvm.c --- a/xen/arch/x86/hvm/hvm.c Fri Nov 03 12:10:02 2006 +0000 +++ b/xen/arch/x86/hvm/hvm.c Fri Nov 03 12:32:26 2006 +0000 @@ -337,7 +337,7 @@ void hvm_print_line(struct vcpu *v, cons if ( c != '\n' ) hd->pbuf[hd->pbuf_idx++] = '\n'; hd->pbuf[hd->pbuf_idx] = '\0'; - printk(XENLOG_G_DEBUG "HVM%u: %s\n", v->domain->domain_id, hd->pbuf); + printk(XENLOG_G_DEBUG "HVM%u: %s", v->domain->domain_id, hd->pbuf); hd->pbuf_idx = 0; } spin_unlock(&hd->pbuf_lock); diff -r d6795f951c42 -r b21ff7716f87 xen/arch/x86/hvm/vlapic.c --- a/xen/arch/x86/hvm/vlapic.c Fri Nov 03 12:10:02 2006 +0000 +++ b/xen/arch/x86/hvm/vlapic.c Fri Nov 03 12:32:26 2006 +0000 @@ -801,7 +801,8 @@ static void vlapic_write(struct vcpu *v, break; default: - printk("Local APIC Write to read-only register\n"); + gdprintk(XENLOG_WARNING, + "Local APIC Write to read-only register 0x%x\n", offset); break; } } diff -r d6795f951c42 -r b21ff7716f87 xen/arch/x86/hvm/vmx/vmcs.c --- a/xen/arch/x86/hvm/vmx/vmcs.c Fri Nov 03 12:10:02 2006 +0000 +++ b/xen/arch/x86/hvm/vmx/vmcs.c Fri Nov 03 12:32:26 2006 +0000 @@ -360,8 +360,7 @@ static void vmx_do_launch(struct vcpu *v error |= __vmwrite(GUEST_TR_LIMIT, 0xff); shadow_update_paging_modes(v); - printk("%s(): GUEST_CR3<=%08lx, HOST_CR3<=%08lx\n", - __func__, v->arch.hvm_vcpu.hw_cr3, v->arch.cr3); + __vmwrite(GUEST_CR3, v->arch.hvm_vcpu.hw_cr3); __vmwrite(HOST_CR3, v->arch.cr3); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |