<html 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)">
<style><!--
/* Font Definitions */
@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:"Helvetica LT Std Cond Light";}
@font-face
        {font-family:"Helvetica LT Std Black";}
/* 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.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        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;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Resurrecting this old thread…<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"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">The first bits of work for this are starting to be submitted for review:<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"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><a href="https://review.opendev.org/c/openstack/nova/+/772156">https://review.opendev.org/c/openstack/nova/+/772156</a><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"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">The developer is going to go through the rest of the tcg guest supported architectures in QEMU and add them in (he only has aarch64 done right now) which will
 require a bit of time/testing, but we hope to have it ready to go for potential inclusion in wallaby.<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"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Any comments from nova team on approach/implementation are welcome.<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>
<div>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Helvetica LT Std Cond Light";color:black">Chris Apsey<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Helvetica LT Std Black";color:#C1D72E">GEORGIA CYBER CENTER<o:p></o:p></span></b></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<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"> Sean Mooney <smooney@redhat.com>
<br>
<b>Sent:</b> Wednesday, July 15, 2020 10:37 AM<br>
<b>To:</b> Apsey, Christopher <CAPSEY@augusta.edu>; openstack-discuss@lists.openstack.org<br>
<b>Cc:</b> Belmiro Moreira <moreira.belmiro.email.lists@gmail.com><br>
<b>Subject:</b> [EXTERNAL] Re: [nova][dev] Revisiting qemu emulation where guest arch != host arch<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">CAUTION: EXTERNAL SENDER This email originated from an external source. Please exercise caution before opening attachments, clicking links, replying, or providing information to the sender. If you believe it to be fraudulent, contact the
 AU Cybersecurity Hotline at 72-CYBER (2-9237 / 706-722-9237) or <a href="mailto:72CYBER@augusta.edu">
72CYBER@augusta.edu</a><br>
<br>
On Wed, 2020-07-15 at 14:17 +0000, Apsey, Christopher wrote:<br>
> All,<br>
> <br>
> A few years ago I asked a question[1] about why nova, when given a hw_architecture property from glance for an image,<br>
> would not end up using the correct qemu-system-xx binary when starting the guest process on a compute node if that<br>
> compute nodes architecture did not match the proposed guest architecture. As an example, if we had all x86 hosts, but<br>
> wanted to run an emulated ppc guest, we should be able to do that given that at least one compute node had qemu-<br>
> system-ppc already installed and libvirt was successfully reporting that as a supported architecture to nova. It<br>
> seemed like a heavy lift at the time, so it was put on the back burner.<br>
> <br>
> I am now in a position to fund a contract developer to make this happen, so the question is: would this be a useful<br>
> blueprint that would potentially be accepted?<br>
this came up during the ptg and the over all felling was it should really work already and if it does not its a bug.<br>
so yes i fa blueprint was filed to support emulation based on the image hw_architecture property i dont think you will<br>
get objection altough we proably will want to allso have schduler support for this and report it to placemnt or have a<br>
whigher of some kind to make it a compelte solution. i.e. enhance the virt driver to report all the achitecure it<br>
support via traits and add a weigher to prefer native execution over emulation. so placement can tell use where it can<br>
run and the weigher can say where it will run best.<br>
<br>
<br>
see line 467 <a href="https://protect-us.mimecast.com/s/2eFkClYVvJcywrxruqA7hQ">https://etherpad.opendev.org/p/nova-victoria-ptg</a><br>
<br>
> Most of the time when people want to run an emulated guest they would just nest it inside of an already running<br>
> guest of the native architecture, but that severely limits observability and the task of managing any more than a<br>
> handful of instances in this manner quickly becomes a tangled nightmare of networking, etc. I see real benefit in<br>
> allowing this scenario to run natively so all of the tooling that exists for fleet management 'just works'. This<br>
> would also be a significant differentiator for OpenStack as a whole.<br>
> <br>
> Thoughts?<br>
> <br>
> [1]<br>
> <a href="https://protect-us.mimecast.com/s/_HyfCmZV2KiZoxzxiQsIGH">http://lists.openstack.org/pipermail/openstack-operators/2018-August/015653.html</a><br>
> <br>
> Chris Apsey<br>
> Director | Georgia Cyber Range<br>
> GEORGIA CYBER CENTER<br>
> <br>
> 100 Grace Hopper Lane | Augusta, Georgia | 30901<br>
> <a href="https://protect-us.mimecast.com/s/n5XeCn5VYLTzZEvEFEjrF-">https://www.gacybercenter.org</a><br>
> <o:p></o:p></p>
</div>
</body>
</html>