From: "Jan Beulich" Subject: [PATCH] VMX: print Pause Loop Exiting disabled message just once Date: Mon, 09 Jan 2012 13:15:10 +0000 Message-ID: <4F0AF66E020000780006B328@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part8BA5C34E.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part8BA5C34E.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ... rather than per booting CPU. Signed-off-by: Jan Beulich --- 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 =3D=3D 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 &=3D ~ SECONDARY_EXEC_PAUSE_LOOP_EXITI= NG; } =20 --=__Part8BA5C34E.0__= Content-Type: text/plain; name="vmx-ple-disable-print-once.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="vmx-ple-disable-print-once.patch" VMX: print Pause Loop Exiting disabled message just once=0A=0A... rather = than per booting CPU.=0A=0ASigned-off-by: Jan Beulich = =0A=0A--- a/xen/arch/x86/hvm/vmx/vmcs.c=0A+++ b/xen/arch/x86/hvm/vmx/vmcs.c= =0A@@ -249,7 +249,8 @@ static int vmx_init_vmcs_config(void)=0A if ( = (_vmx_secondary_exec_control & SECONDARY_EXEC_PAUSE_LOOP_EXITING) &&=0A = ple_gap =3D=3D 0 )=0A {=0A- printk("Disable Pause-Loop = Exiting.\n");=0A+ if ( !vmx_pin_based_exec_control )=0A+ = printk(XENLOG_INFO "Disable Pause-Loop Exiting.\n");=0A _vmx_second= ary_exec_control &=3D ~ SECONDARY_EXEC_PAUSE_LOOP_EXITING;=0A }=0A =0A --=__Part8BA5C34E.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part8BA5C34E.0__=--