From mboxrd@z Thu Jan 1 00:00:00 1970 From: "=?utf-8?B?WmhhbmcgSGFveXU=?=" Subject: =?utf-8?B?UmU6IEhvdyB0byBlbmFibGUgUGF1c2UgTG9vcCBFeGl0aW5nIChQTEUpPw==?= Date: Mon, 9 Jun 2014 11:52:10 +0800 Message-ID: <201406091152083051957@sangfor.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: "=?utf-8?B?Smlkb25nIFhpYW8=?=" , "=?utf-8?B?S1ZN?=" Return-path: Received: from smtp.sanfor.com ([58.251.49.30]:40736 "EHLO mail.sangfor.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753992AbaFIDxI (ORCPT ); Sun, 8 Jun 2014 23:53:08 -0400 Sender: kvm-owner@vger.kernel.org List-ID: >Hi, > >I am using this tool for querying VMX capabilities. > >http://git.qemu.org/?p=qemu.git;a=blob_plain;f=scripts/kvm/vmxcap;hb=HEAD > >And it shows as below that pause-loop exiting is not enabled. My kernel is 3.14. > >secondary processor-based controls > Virtualize APIC accesses yes > Enable EPT yes > Descriptor-table exiting yes > Enable RDTSCP yes > Virtualize x2APIC mode yes > Enable VPID yes > WBINVD exiting yes > Unrestricted guest no > APIC register emulation no > Virtual interrupt delivery no > PAUSE-loop exiting no > RDRAND exiting no > Enable INVPCID no > Enable VM functions no > VMCS shadowing no > EPT-violation #VE no > >What shall I do if I wish to enable PLE? I have also tried this: > >>From above info, your physical cpu dose not support ple feature, if you want to enable ple, your cpu must support ple feature, and 'PAUSE exiting' must be 0-settting, 'PAUSE-loop exiting' must be 1-setting. And, kvm-intel module will enable ple as default if your cpu support ple feature. >linux-vsvo:~/code/test # rmmod kvm-intel >linux-vsvo:~/code/test # modprobe kvm-intel ple_gap=128 >linux-vsvo:~/code/test # cat /sys//module/kvm_intel/parameters/ple_gap >0 > >But, it does not change the ple_gap, and also, the above script still >says PLE is disabled. > >-Jidong