[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>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2006-06-27 11:17:14 +01:00
1 parent 110b2784a3
commit 78d2beff2c
1 file changed
+2 -1
+2 -1
View File
@@ -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 );
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.