[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [HVM][SVM] move printk pin msg under an "if svm_dbg_on" conditional to



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID b12cd185d579a0fb3b74b73e44add5524304d8cc
# Parent  8589cdd096360970933a7c9112f2925c52d08696
[HVM][SVM] move printk pin msg under an "if svm_dbg_on" conditional to
alleviate excessive printing of messages when vcpu pinned to new core.

Signed-off-by: Tom Woller <thomas.woller@xxxxxxx>
---
 xen/arch/x86/hvm/svm/svm.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 8589cdd09636 -r b12cd185d579 xen/arch/x86/hvm/svm/svm.c
--- a/xen/arch/x86/hvm/svm/svm.c        Tue Jun 27 11:15:48 2006 +0100
+++ b/xen/arch/x86/hvm/svm/svm.c        Tue Jun 27 11:17:14 2006 +0100
@@ -813,7 +813,8 @@ void arch_svm_do_resume(struct vcpu *v)
         reset_stack_and_jump( svm_asm_do_resume );
     }
     else {
-        printk("VCPU core pinned: %d to %d\n", 
+        if (svm_dbg_on)
+            printk("VCPU core pinned: %d to %d\n", 
                 v->arch.hvm_svm.launch_core, smp_processor_id() );
         v->arch.hvm_svm.launch_core = smp_processor_id();
         svm_migrate_timers( v );

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.