ia64/xen-unstable

changeset 10534:b12cd185d579

[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@amd.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Jun 27 11:17:14 2006 +0100 (2006-06-27)
parents 8589cdd09636
children 23591d2c46aa
files xen/arch/x86/hvm/svm/svm.c
line diff
     1.1 --- a/xen/arch/x86/hvm/svm/svm.c	Tue Jun 27 11:15:48 2006 +0100
     1.2 +++ b/xen/arch/x86/hvm/svm/svm.c	Tue Jun 27 11:17:14 2006 +0100
     1.3 @@ -813,7 +813,8 @@ void arch_svm_do_resume(struct vcpu *v)
     1.4          reset_stack_and_jump( svm_asm_do_resume );
     1.5      }
     1.6      else {
     1.7 -        printk("VCPU core pinned: %d to %d\n", 
     1.8 +        if (svm_dbg_on)
     1.9 +            printk("VCPU core pinned: %d to %d\n", 
    1.10                  v->arch.hvm_svm.launch_core, smp_processor_id() );
    1.11          v->arch.hvm_svm.launch_core = smp_processor_id();
    1.12          svm_migrate_timers( v );