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] [xen-unstable] [HVM] More printk cleanups.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [HVM] More printk cleanups.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 06 Nov 2006 16:50:26 +0000
Delivery-date: Mon, 06 Nov 2006 08:52:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [HVM] More printk cleanups., Xen patchbot-unstable <=