<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@PMingLiU";
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:"\@Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:509758613;
        mso-list-type:hybrid;
        mso-list-template-ids:1527690008 1317160986 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:12.0pt;
        font-family:"Times New Roman",serif;
        mso-fareast-font-family:PMingLiU;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1
        {mso-list-id:1088697243;
        mso-list-type:hybrid;
        mso-list-template-ids:-84515398 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Dear </span>Laurentiu,<o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Assume your hardware does support Intel VT-x with EPT supported, I have also look into the kernel part for fun!<o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Just quick look at CentOS 7 and installed a CentOS_7x_x64_build1511 @installation at minimum, below is my sharing and hope to help!<o:p></o:p></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>1)<span style='font:7.0pt "Times New Roman"'>      </span></span><![endif]><span style='font-size:10.0pt;font-family:"Arial Unicode MS",sans-serif'>CentOS Linux Kernel version: 3.10.0-327.e17.x86_64 SMP<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>2)<span style='font:7.0pt "Times New Roman"'>      </span></span><![endif]><span style='font-size:10.0pt;font-family:"Arial Unicode MS",sans-serif'>Kernel parameters which should be your requirement;<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo1'><![if !supportLists]><span style='font-size:10.0pt;font-family:"Arial Unicode MS",sans-serif'><span style='mso-list:Ignore'>a.<span style='font:7.0pt "Times New Roman"'>     </span></span></span><![endif]><span style='font-size:10.0pt;font-family:"Arial Unicode MS",sans-serif'>Default “kvm-intel.ept=1” (refer to Kernel Archive “https://www.kernel.org/”)<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo1'><![if !supportLists]><span style='font-size:10.0pt;font-family:"Arial Unicode MS",sans-serif'><span style='mso-list:Ignore'>b.<span style='font:7.0pt "Times New Roman"'>     </span></span></span><![endif]><span style='font-family:"Arial Unicode MS",sans-serif'><img width=642 height=54 style='width:6.6875in;height:.5625in' id="Picture_x0020_1" src="cid:image001.png@01D1EE6F.3B0AA930"></span><span style='font-size:10.0pt;font-family:"Arial Unicode MS",sans-serif'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Xlord<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Laurentiu Soica [mailto:laurentiu@soica.ro] <br><b>Sent:</b> Thursday, August 4, 2016 2:41 PM<br><b>To:</b> -=X.L.O.R.D=- <xlord.sl@gmail.com>; Discussion about the virtualization on CentOS <centos-virt@centos.org><br><b>Subject:</b> Re: [CentOS-virt] Centos 7 newer kernel needed<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hello Xlord, <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The CPU does have VT support and I already have the nested KVM enabled. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Checking the Linux Kernel release notes I saw that the nested kvm feature was implemented in 3.10 but he EPT support is in 3.12.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>So Centos 7's kernel which is 3.10 does have the EPT support? Is there a way to check that the EPT support is available in the kernel? <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thank you, <o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Laurentiu<o:p></o:p></p><div><div><p class=MsoNormal>On Thu, Aug 4, 2016, 06:04 -=X.L.O.R.D=- <<a href="mailto:xlord.sl@gmail.com">xlord.sl@gmail.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in' id="gmail_block_quote0"><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Dear Laurentiu,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Please check below info since assume your CentOS7 box CPU processor already VT supported in advance.</span><o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Arial Unicode MS",sans-serif'>1)</span><span style='font-size:7.0pt'>     </span><span style='font-size:10.0pt;font-family:"Arial Unicode MS",sans-serif'>Checkpoint #1: Hardware and Kernel modules</span><o:p></o:p></p><p style='margin-left:1.0in'><span style='font-size:10.0pt;font-family:"Arial Unicode MS",sans-serif'>a.</span><span style='font-size:7.0pt'>     </span><span style='font-size:10.0pt;font-family:"Arial Unicode MS",sans-serif'>cat /proc/cpuinfo | grep vmx</span><o:p></o:p></p><pre style='margin-left:1.0in'><span style='font-family:"Arial Unicode MS",sans-serif'>b.</span><span style='font-size:7.0pt;font-family:"Times New Roman",serif'>     </span><span style='font-family:"Arial Unicode MS",sans-serif'>cat /sys/module/kvm_intel/parameters/nested (if <span lang=ZH-TW>“</span>N<span lang=ZH-TW>”</span> then go to checkpoint #2)</span><o:p></o:p></pre><p><span style='font-size:10.0pt;font-family:"Arial Unicode MS",sans-serif;color:#1F497D'>2)</span><span style='font-size:7.0pt;color:#1F497D'>     </span><span style='font-size:10.0pt;font-family:"Arial Unicode MS",sans-serif;color:#1F497D'>Checkpoint #2: Assume your CentOS box support</span><o:p></o:p></p><pre style='margin-left:1.0in'><i><span style='font-family:"Arial Unicode MS",sans-serif'>a.</span></i><i><span style='font-size:7.0pt;font-family:"Times New Roman",serif'>     </span></i><em><span style='font-family:"Arial Unicode MS",sans-serif;font-style:normal'>echo 'options kvm-intel nested=y' >> /etc/modprobe.d/</span></em><span style='font-family:"Arial Unicode MS",sans-serif'>dist.conf</span><o:p></o:p></pre><pre style='margin-left:1.0in'><span style='font-family:"Arial Unicode MS",sans-serif'>b.</span><span style='font-size:7.0pt;font-family:"Times New Roman",serif'>     </span><span style='font-family:"Arial Unicode MS",sans-serif'>modprobe kvm-intel</span><o:p></o:p></pre><p><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>3)</span><span style='font-size:7.0pt;color:#1F497D'>      </span><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Checkpoint #3: Verification</span><o:p></o:p></p><p style='margin-left:1.0in'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>a.</span><span style='font-size:7.0pt;color:#1F497D'>       </span><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Reboot yout CentOS box</span><o:p></o:p></p><pre style='margin-left:1.0in'><span style='font-family:"Arial Unicode MS",sans-serif'>b.</span><span style='font-size:7.0pt;font-family:"Times New Roman",serif'>     </span><span style='font-family:"Arial Unicode MS",sans-serif'>cat /sys/module/kvm_intel/parameters/nested (if <span lang=ZH-TW>“</span>Y<span lang=ZH-TW>”</span> then you can carry one process the KVM installation.</span><o:p></o:p></pre><pre><span style='font-family:"Arial Unicode MS",sans-serif'>               </span><o:p></o:p></pre><pre><span style='font-family:"Arial Unicode MS",sans-serif'>PS: Source: <a href="https://lalatendu.org/2015/11/01/kvm-nested-virtualization-in-fedora-23/" target="_blank">https://lalatendu.org/2015/11/01/kvm-nested-virtualization-in-fedora-23/</a> which should be very similar with CentOS and CentOS 7 already capable with on with KVM Nested EPT with CPU pass-through options supported. Hope that helps & cheers!!</span><o:p></o:p></pre><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Xlord</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> <a href="mailto:centos-virt-bounces@centos.org" target="_blank">centos-virt-bounces@centos.org</a> [mailto:<a href="mailto:centos-virt-bounces@centos.org" target="_blank">centos-virt-bounces@centos.org</a>] <b>On Behalf Of </b>Laurentiu Soica<br><b>Sent:</b> Thursday, August 4, 2016 3:07 AM<br><b>To:</b> <a href="mailto:centos-virt@centos.org" target="_blank">centos-virt@centos.org</a><br><b>Subject:</b> [CentOS-virt] Centos 7 newer kernel needed</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hello, <br><br>I am looking for a Linux kernel for Centos 7 that implements a feature introduced in kernel version 3.12:<br><br>"nested EPT support to KVM's nested VMX."<br><br>If anyone has used this feature with Centos 7, please let me know. <br><br>Laurentiu <o:p></o:p></p></div></div></blockquote></div></div></div></body></html>