From: kaf24@firebug.cl.cam.ac.uk Date: Tue, 27 Jun 2006 10:17:14 +0000 (+0100) Subject: [HVM][SVM] move printk pin msg under an "if svm_dbg_on" conditional to X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15913^2~24 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=78d2beff2c75f8b9764576713b77c8d695cd38cd;p=xen.git [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 --- diff --git a/xen/arch/x86/hvm/svm/svm.c b/xen/arch/x86/hvm/svm/svm.c index 8d7f6e3ed8..ca46cdb778 100644 --- a/xen/arch/x86/hvm/svm/svm.c +++ b/xen/arch/x86/hvm/svm/svm.c @@ -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 );