<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
h1
{mso-style-priority:9;
mso-style-link:"Heading 1 Char";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:24.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.Heading1Char
{mso-style-name:"Heading 1 Char";
mso-style-priority:9;
mso-style-link:"Heading 1";
font-family:"Times New Roman",serif;
font-weight:bold;}
span.yui3-editabletext-text
{mso-style-name:yui3-editable_text-text;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">About bug of unable to create vm with GPU/Crypto passthrough devices<o:p></o:p></p>
<p class="MsoNormal"><a href="https://bugs.launchpad.net/starlingx/+bug/1824831">https://bugs.launchpad.net/starlingx/+bug/1824831</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The question is clear now for GPU passthrough.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">According to openstack doc, we need to modify nova.conf to add alias info.<o:p></o:p></p>
<p class="MsoNormal"><a href="https://docs.openstack.org/nova/pike/admin/pci-passthrough.html">https://docs.openstack.org/nova/pike/admin/pci-passthrough.html</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">For QAT, we have added some frequently used QAT items by hardcoding, like below<o:p></o:p></p>
<p class="MsoNormal">alias = {"vendor_id": "8086", "product_id": "0435", "name": "qat-dh895xcc-pf"}<o:p></o:p></p>
<p class="MsoNormal">alias = {"vendor_id": "8086", "product_id": "0443", "name": "qat-dh895xcc-vf"}<o:p></o:p></p>
<p class="MsoNormal">alias = {"vendor_id": "8086", "product_id": "37c8", "name": "qat-c62x-pf"}<o:p></o:p></p>
<p class="MsoNormal">alias = {"vendor_id": "8086", "product_id": "37c9", "name": "qat-c62x-vf"}<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can we do it the same for GPU. Add GPU items by hardcoding.<o:p></o:p></p>
<p class="MsoNormal">As I know, you used [102b:0522] [vendorid:productid]<o:p></o:p></p>
<p class="MsoNormal">I also saw below GPU product.<o:p></o:p></p>
<p class="MsoNormal">[1a03:2000]<o:p></o:p></p>
<p class="MsoNormal">[8086:3e92]<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">BTW, can we create port and attach it to VM, so that no need to add this alias.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Perfect solution is to detect gpu info automatically and add to alias list after power on.<o:p></o:p></p>
<p class="MsoNormal">From my point, this is new feature requirement <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any comment?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<span lang="ZH-CN" style="font-family:SimSun">!</span><o:p></o:p></p>
<p class="MsoNormal">Zhipeng<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>