diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-01-09 16:01:44 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-01-09 16:01:44 +0100 |
commit | 6fd2fba594f611533c46a6a271ee0615e0b46fd7 (patch) | |
tree | 5dd3a0053af7c05c5e76afe46e38e7f22fab830b | |
parent | db62a1c49262ef14ce5d039345666aea6139c430 (diff) | |
download | xen-6fd2fba594f611533c46a6a271ee0615e0b46fd7.tar.gz xen-6fd2fba594f611533c46a6a271ee0615e0b46fd7.tar.bz2 xen-6fd2fba594f611533c46a6a271ee0615e0b46fd7.zip |
VMX: print Pause Loop Exiting disabled message just once
... rather than per booting CPU.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
-rw-r--r-- | xen/arch/x86/hvm/vmx/vmcs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/vmx/vmcs.c b/xen/arch/x86/hvm/vmx/vmcs.c index f0af4c4603..fe4527aa75 100644 --- a/xen/arch/x86/hvm/vmx/vmcs.c +++ b/xen/arch/x86/hvm/vmx/vmcs.c @@ -249,7 +249,8 @@ static int vmx_init_vmcs_config(void) if ( (_vmx_secondary_exec_control & SECONDARY_EXEC_PAUSE_LOOP_EXITING) && ple_gap == 0 ) { - printk("Disable Pause-Loop Exiting.\n"); + if ( !vmx_pin_based_exec_control ) + printk(XENLOG_INFO "Disable Pause-Loop Exiting.\n"); _vmx_secondary_exec_control &= ~ SECONDARY_EXEC_PAUSE_LOOP_EXITING; } |