<div dir="ltr"><div dir="ltr"><div dir="ltr">Is this different issue than what was discussed in:<div><a href="https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg109516.html">https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg109516.html</a><br></div><div><br></div><div>The message is slightly different (might be changed in newer qemu used now), but the issue I had before was that features of selected -cpu and host cpu didn&#39;t match and qemu failed with:</div><div><div>qemu-system-x86_64: warning: host doesn&#39;t support requested feature: CPUID.01H:EDX.ss [bit 27]</div></div><div>when some features were missing and kvm was used.</div><div><br></div><div>If it&#39;s the same root cause, then it&#39;s not a bug in qemu.</div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 13, 2018 at 11:33 PM Andre McCurdy &lt;<a href="mailto:armccurdy@gmail.com">armccurdy@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Sep 13, 2018 at 12:25 AM, Anuj Mittal &lt;<a href="mailto:anuj.mittal@intel.com" target="_blank">anuj.mittal@intel.com</a>&gt; wrote:<br>
&gt; Fixes warnings in builds using core2-32 tune:<br>
&gt;<br>
&gt; warning: TCG doesn&#39;t support requested feature: CPUID.80000001H:EDX.syscall [bit 11]<br>
&gt; warning: TCG doesn&#39;t support requested feature: CPUID.80000001H:EDX.lm [bit 29]<br>
&gt;<br>
&gt; when executing postinsts using qemu-i386.<br>
&gt;<br>
&gt; i386 target doesn&#39;t enable CPUID_EXT2_SYSCALL and CPUID_EXT2_LM [1]<br>
&gt; while cpu choice of core2duo that we use for core2-32 TUNE does [2].<br>
&gt; Use n270 cpu instead to use with qemu which supports SSSE3 and doesn&#39;t<br>
&gt; have these bits enabled [3].<br>
&gt;<br>
&gt; [1] <a href="https://github.com/qemu/qemu/blob/master/target/i386/cpu.c#L739" rel="noreferrer" target="_blank">https://github.com/qemu/qemu/blob/master/target/i386/cpu.c#L739</a><br>
&gt; [2] <a href="https://github.com/qemu/qemu/blob/master/target/i386/cpu.c#L1439" rel="noreferrer" target="_blank">https://github.com/qemu/qemu/blob/master/target/i386/cpu.c#L1439</a><br>
&gt; [3] <a href="https://github.com/qemu/qemu/blob/master/target/i386/cpu.c#L1603" rel="noreferrer" target="_blank">https://github.com/qemu/qemu/blob/master/target/i386/cpu.c#L1603</a><br>
&gt;<br>
&gt; Fixes [YOCTO #12916]<br>
<br>
Is this working around a bug in qemu?<br>
<br>
&gt; Signed-off-by: Anuj Mittal &lt;<a href="mailto:anuj.mittal@intel.com" target="_blank">anuj.mittal@intel.com</a>&gt;&gt; ---<br>
&gt;  meta/conf/machine/include/tune-core2.inc | 2 +-<br>
&gt;  1 file changed, 1 insertion(+), 1 deletion(-)<br>
&gt;<br>
&gt; diff --git a/meta/conf/machine/include/tune-core2.inc b/meta/conf/machine/include/tune-core2.inc<br>
&gt; index c686bb4682..ddde719bde 100644<br>
&gt; --- a/meta/conf/machine/include/tune-core2.inc<br>
&gt; +++ b/meta/conf/machine/include/tune-core2.inc<br>
&gt; @@ -21,7 +21,7 @@ TUNE_FEATURES_tune-core2-32 = &quot;${TUNE_FEATURES_tune-x86} core2&quot;<br>
&gt;  BASE_LIB_tune-core2-32 = &quot;lib&quot;<br>
&gt;  TUNE_PKGARCH_tune-core2-32 = &quot;core2-32&quot;<br>
&gt;  PACKAGE_EXTRA_ARCHS_tune-core2-32 = &quot;${PACKAGE_EXTRA_ARCHS_tune-i686} core2-32&quot;<br>
&gt; -QEMU_EXTRAOPTIONS_core2-32 = &quot; -cpu core2duo&quot;<br>
&gt; +QEMU_EXTRAOPTIONS_core2-32 = &quot; -cpu n270&quot;<br>
&gt;<br>
&gt;  AVAILTUNES += &quot;core2-64&quot;<br>
&gt;  TUNE_FEATURES_tune-core2-64 = &quot;${TUNE_FEATURES_tune-x86-64} core2&quot;<br>
&gt; --<br>
&gt; 2.17.1<br>
&gt;<br>
&gt; --<br>
&gt; _______________________________________________<br>
&gt; Openembedded-core mailing list<br>
&gt; <a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div>