[Xen-changelog] [xen-unstable] [IA64] Quiet VTi domain bootup

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Xen-changelog] [xen-unstable] [IA64] Quiet VTi domain bootup

Xen patchbot-unstable
# HG changeset patch
# User [hidden email]
# Date 1171839192 25200
# Node ID 779d21cf58e77f080bb3a00417dcd8a6ca38ff3c
# Parent  3fa7489f87bbf99140133ae78bee249a8c0c3f36
[IA64] Quiet VTi domain bootup

Xen shouldn't be printing anything to the console at a visible
log level for normal startup.

Signed-off-by: Alex Williamson <[hidden email]>
---
 xen/arch/ia64/vmx/vlsapic.c  |    2 +-
 xen/arch/ia64/vmx/vmmu.c     |    4 ++--
 xen/arch/ia64/vmx/vmx_init.c |    5 +++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diff -r 3fa7489f87bb -r 779d21cf58e7 xen/arch/ia64/vmx/vlsapic.c
--- a/xen/arch/ia64/vmx/vlsapic.c Fri Feb 16 16:47:24 2007 -0700
+++ b/xen/arch/ia64/vmx/vlsapic.c Sun Feb 18 15:53:12 2007 -0700
@@ -691,7 +691,7 @@ static void vlsapic_write_ipi(VCPU *vcpu
 
         if (test_and_clear_bit(_VCPUF_down,&targ->vcpu_flags)) {
             vcpu_wake(targ);
-            printk("arch_boot_vcpu: vcpu %d awaken %016lx!\n",
+            printk(XENLOG_DEBUG "arch_boot_vcpu: vcpu %d awaken %016lx!\n",
                    targ->vcpu_id, targ_regs->cr_iip);
         } else {
             printk("arch_boot_vcpu: huh, already awake!");
diff -r 3fa7489f87bb -r 779d21cf58e7 xen/arch/ia64/vmx/vmmu.c
--- a/xen/arch/ia64/vmx/vmmu.c Fri Feb 16 16:47:24 2007 -0700
+++ b/xen/arch/ia64/vmx/vmmu.c Sun Feb 18 15:53:12 2007 -0700
@@ -141,7 +141,7 @@ static int init_domain_vhpt(struct vcpu
     }
     vbase = page_to_virt(page);
     memset(vbase, 0, VCPU_VHPT_SIZE);
-    printk("Allocate domain vhpt at 0x%p\n", vbase);
+    printk(XENLOG_DEBUG "Allocate domain vhpt at 0x%p\n", vbase);
     
     VHPT(v,hash) = vbase;
     VHPT(v,hash_sz) = VCPU_VHPT_SIZE/2;
@@ -182,7 +182,7 @@ int init_domain_tlb(struct vcpu *v)
     }
     vbase = page_to_virt(page);
     memset(vbase, 0, VCPU_VTLB_SIZE);
-    printk("Allocate domain vtlb at 0x%p\n", vbase);
+    printk(XENLOG_DEBUG "Allocate domain vtlb at 0x%p\n", vbase);
     
     VTLB(v,hash) = vbase;
     VTLB(v,hash_sz) = VCPU_VTLB_SIZE/2;
diff -r 3fa7489f87bb -r 779d21cf58e7 xen/arch/ia64/vmx/vmx_init.c
--- a/xen/arch/ia64/vmx/vmx_init.c Fri Feb 16 16:47:24 2007 -0700
+++ b/xen/arch/ia64/vmx/vmx_init.c Sun Feb 18 15:53:12 2007 -0700
@@ -162,7 +162,8 @@ static vpd_t *alloc_vpd(void)
  return NULL;
  }
 
- printk("vpd base: 0x%p, vpd size:%ld\n", vpd, sizeof(vpd_t));
+ printk(XENLOG_DEBUG "vpd base: 0x%p, vpd size:%ld\n",
+       vpd, sizeof(vpd_t));
  memset(vpd, 0, VPD_SIZE);
  mregs = &vpd->vpd_low;
 
@@ -207,7 +208,7 @@ vmx_create_vp(struct vcpu *v)
  extern char vmx_ia64_ivt;
  /* ia64_ivt is function pointer, so need this tranlation */
  ivt_base = (u64) &vmx_ia64_ivt;
- printk("ivt_base: 0x%lx\n", ivt_base);
+ printk(XENLOG_DEBUG "ivt_base: 0x%lx\n", ivt_base);
  ret = ia64_pal_vp_create((u64 *)vpd, (u64 *)ivt_base, 0);
  if (ret != PAL_STATUS_SUCCESS){
  panic_domain(vcpu_regs(v),"ia64_pal_vp_create failed. \n");

_______________________________________________
Xen-changelog mailing list
[hidden email]
http://lists.xensource.com/xen-changelog