<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
@font-face
{font-family:\5B8B \4F53 }
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
@font-face
{font-family:"Helvetica Neue"}
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
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri",sans-serif;
color:#1F497D}
.MsoChpDefault
{font-family:"Calibri",sans-serif}
@page WordSection1
{margin:1.0in 1.25in 1.0in 1.25in}
-->
</style><style type="text/css" id="owaParaStyle"></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">what about the also supported AMD EPYC CPUs by kvm?
<div><br>
</div>
<div>
<div>/usr/lib/python2.7/site-packages/nova/scheduler/filters/vcpu_model_filter.py</div>
<div><br>
</div>
<div> def _is_host_kvm(self, cpu_info):</div>
<div> info = jsonutils.loads(cpu_info)</div>
<div> if 'vmx' in info['features']:</div>
<div> return True</div>
<div> if 'svm' in info['features']: //this add AMD support</div>
<div> return True</div>
<div> return False</div>
<div><br>
</div>
<div>--------------</div>
<div><br>
</div>
<div>
<div>/usr/lib/python2.7/site-packages/nova/objects/fields.py</div>
<div><br>
</div>
<div># WRS: List of Intel based guest CPU models that can be selected from a user</div>
<div># defined instance type</div>
<div>class CPUModel(BaseNovaEnum):</div>
<div> # We use the ordering of the cpu models to determine whether a</div>
<div> # given host can emulate a specified virtual model, so it's not</div>
<div> # just an enum.</div>
<div> ALL = ("Passthrough",</div>
<div> "EPYC", // add AMD EPYC</div>
<div> "EPYC-IBPB", // add AMD EPYC-IBPB</div>
<div> "Conroe",</div>
<div> "Penryn",<br>
</div>
</div>
<div>...</div>
<div><br>
</div>
<div><br>
</div>
<div>Volker...</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF622238" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>Von:</b> Sun, Austin [austin.sun@intel.com]<br>
<b>Gesendet:</b> Dienstag, 26. März 2019 07:37<br>
<b>An:</b> Himanshu Goyal; starlingx-discuss@lists.starlingx.io; Alonso, Juan Carlos; Hu, Yong; Prashant.Patil@radisys.com; Somshekar.Ydlapur@radisys.com<br>
<b>Betreff:</b> Re: [Starlingx-discuss] cpu model Passthrough with Intel/Skylake-Server-IBRS<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Hi :</span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">You have to patch (stx-nova)
<a href="https://github.com/starlingx-staging/stx-nova/pull/17/files/2556ad28eb44a6916922ad2b489ac610db2ffeb5" target="_blank" rel="noopener noreferrer">
https://github.com/starlingx-staging/stx-nova/pull/17/files/2556ad28eb44a6916922ad2b489ac610db2ffeb5</a> and (stx-glance) <a href="https://github.com/starlingx-staging/stx-glance/pull/5/commits/35d76808893cf0869b54f758d958769a19c0c879" target="_blank" rel="noopener noreferrer">https://github.com/starlingx-staging/stx-glance/pull/5/commits/35d76808893cf0869b54f758d958769a19c0c879</a>
</span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">into your system and restart the necessary nova , glance services
</span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Thanks.</span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">BR<br>
Austin Sun. </span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></a></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"> Himanshu Goyal [mailto:himanshugoyal500@gmail.com]
<br>
<b>Sent:</b> Tuesday, March 26, 2019 1:53 PM<br>
<b>To:</b> starlingx-discuss@lists.starlingx.io; Alonso, Juan Carlos <juan.carlos.alonso@intel.com>; Hu, Yong <yong.hu@intel.com>; Prashant.Patil@radisys.com; Somshekar.Ydlapur@radisys.com<br>
<b>Subject:</b> Re: [Starlingx-discuss] cpu model Passthrough with Intel/Skylake-Server-IBRS</span></p>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal">+ prashant, som</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Adding my team members in the same.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Regards,</p>
</div>
<div>
<p class="MsoNormal">Himanshu Goyal</p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal">On Mon, Mar 25, 2019 at 1:33 PM Himanshu Goyal <<a href="mailto:himanshugoyal500@gmail.com" target="_blank" rel="noopener noreferrer">himanshugoyal500@gmail.com</a>> wrote:</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">
<div>
<div>
<div>
<p class="MsoNormal">Hi,</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I tried manual installation of rpm packages "qemu-kvm-ev-3.0.0-0.tis.97.x86_64.rpm" but it is not working, Please help how can i upgrade the required packages.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Many thanks,</p>
</div>
<div>
<p class="MsoNormal">Himanshu Goyal </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal">On Fri, Mar 22, 2019 at 3:57 PM Himanshu Goyal <<a href="mailto:himanshugoyal500@gmail.com" target="_blank" rel="noopener noreferrer">himanshugoyal500@gmail.com</a>> wrote:</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">
<div>
<div>
<div>
<div>
<p class="MsoNormal">Hi,</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I'm using starlingX release "stx.2018.10", and "<span style="font-size:10.0pt; font-family:"Helvetica Neue"; color:#666666">Intel/Skylake-Server-IBRS</span>" as my compute server, trying to create a VM with cpu_model as passthrough but
it is giving a error.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Error:</p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Helvetica Neue"; color:#666666">No valid host was found. There are not enough hosts available. compute-0: (ComputeFilter) host is disabled, reason: disabled by VIM<b>, compute-1: (VCpuModelFilter)
Host VCPU model Skylake-Server-IBRS required Passthrough</b></span> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I checked the starling-Discuss page & found it is fixed with qemu-kvm version:<span style="color:black">qemu-kvm-ev-3.0.0-0.tis.97</span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"><b><span style="color:black">starling-discuss link:</span></b></p>
</div>
<div>
<p class="MsoNormal"><a href="http://lists.starlingx.io/pipermail/starlingx-discuss/2018-December/002110.html" target="_blank" rel="noopener noreferrer">http://lists.starlingx.io/pipermail/starlingx-discuss/2018-December/002110.html</a></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Current qemu-kvm version in my setup:</p>
</div>
<div>
<p class="MsoNormal">q<b>emu-img version 2.10.0(qemu-kvm-ev-2.10.0-0.tis.0)</b></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Please let me know how can i upgrade qemu-kvm package in my compute without disturbing much running setup.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Many Thanks,</p>
</div>
<div>
<p class="MsoNormal">Himanshu Goyal</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>