<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial" size="2"><span style="font-size:11pt;">
<div align="left" style="text-align:justify;"><font color="#222222">Hi everyone,</font></div>
<div><font face="Times New Roman" size="2"><span style="font-size:10.5pt;"> </span></font></div>
<div><font face="Consolas">Currently nova exposes all the host CPU instruction set extensions available</font></div>
<div><font face="Consolas">on the compute node in the host state, and there is a scheduler filter</font></div>
<div><font face="Consolas">`ComputeCapabilitiesFilter` which looks at these.</font></div>
<div><font face="Consolas"> </font></div>
<div><font face="Consolas">But the limits on this is:</font></div>
<div><font face="Consolas">CPU instruction set in ComputeCapabilitiesFilter should be guest's view instead of host's.</font></div>
<div align="left" style="text-align:justify;"><font face="Times New Roman" size="2"><span style="font-size:10.5pt;"> </span></font></div>
<div><font face="Consolas">Admin may use specific set of CPU instruction to deploy instance to make</font></div>
<div><font face="Consolas">it migratable in a heterogeneous cloud.</font></div>
<div><font face="Consolas">This is actually by design in nova as nova is using baselineCPU</font></div>
<div><font face="Consolas">andallowed to pass/config guest CPU instruction feature for instance.</font></div>
<div><font face="Consolas"> </font></div>
<div><font face="Consolas">Shall we add a string “guest_features” in ``ComputeNode`` object as ``ComputeNode:cpu_info:guest_features``</font></div>
<div><font face="Consolas">And let ComputeCapabilitiesFilter use guest_features instead of host features here? </font></div>
<div><font face="Consolas"> </font></div>
<div><font face="Consolas">Is this a real gap ? and the above easy fix is the right way ? </font></div>
<div><font face="Consolas"> </font></div>
<div><font face="Consolas">Thanks</font></div>
<div align="left" style="text-align:justify;"><font face="Consolas">-yuntongjin</font></div>
<div align="left" style="text-align:justify;"><font face="Times New Roman" size="2"><span style="font-size:10.5pt;"> </span></font></div>
<div align="left" style="text-align:justify;"><font face="Times New Roman" size="2"><span style="font-size:10.5pt;"> </span></font></div>
</span></font>
</body>
</html>