<div class="gmail_extra">Built and verified that both the latest fedora rawhide qemu and the latest QEMU from git do not resolve this.</div><div class="gmail_extra">Here: fedora/development/rawhide/source/SRPMS/q/qemu-1.0-15.fc18.src.rpm)</div>

<div class="gmail_extra">and</div><div class="gmail_extra">Here: <a href="http://git.qemu.org/qemu.git" target="_blank">http://git.qemu.org/qemu.git</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">I suspect that unless the patches made to RHEL qemu, mentioned by the qemu developers in the below discussion on qemu-devel are applied to Fedora&#39;s qemu or an explicit resolution to the issue is reached by the qemu developers this will remain an issue for Fedora based ovirt hosts.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">- DHC<br><br><div class="gmail_quote">On Sun, Apr 22, 2012 at 5:40 AM, Ayal Baron <span dir="ltr">&lt;<a href="mailto:abaron@redhat.com" target="_blank">abaron@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sounds like vdsm should just require a newer version of qemu-kvm as well?<br>
Have you tested with a newer qemu-kvm?<br>
<div><div><br>
----- Original Message -----<br>
&gt;<br>
&gt; Seeing an issue wherein ovirt moves a managed host to non-operational<br>
&gt; state.<br>
&gt; This occurs with the currently released version of ovirt and the<br>
&gt; latest development builds.<br>
&gt; The ovirt host is loaded with Fedora core 16 and equipped with most<br>
&gt; current development version of the vdsm.<br>
&gt; *Editorial node*<br>
&gt; The latest vdsm to work on the FC16 host required building and adding<br>
&gt; newer versions of the sanlock, libvirt, lvm2 and device-mapper<br>
&gt; packages than what FC16 provides.<br>
&gt; Ultimately however none of the newer packages have any bearing on<br>
&gt; this failure mode.<br>
&gt;<br>
&gt; The failure mode is as follows.<br>
&gt; Upon successfully adding the host and setting the cluster CPU<br>
&gt; compatibility level oVirt will offline the host with the following<br>
&gt; message:<br>
&gt; --&gt; Host ovirtnode moved to Non-Operational state as host does not<br>
&gt; meet the cluster&#39;s minimum CPU level. Missing CPU features :<br>
&gt; model_Nehalem<br>
&gt;<br>
&gt; Under the hood the actual cause of this failure is that qemu is not<br>
&gt; correctly able to identify the host CPU feature flags.<br>
&gt; This can be observed by doing: qemu-system-x86_64 -cpu Nehalem,check<br>
&gt; which fails with:<br>
&gt; warning: host cpuid 0000_0000 lacks requested flag &#39;fpu&#39; [0x00000001]<br>
&gt; warning: host cpuid 0000_0000 lacks requested flag &#39;de&#39; [0x00000004]<br>
&gt; and on and on...<br>
&gt;<br>
&gt; A simple check of &quot;cat /proc/cpuinfo | grep flags&quot;<br>
&gt; flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov<br>
&gt; pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx<br>
&gt; rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology<br>
&gt; nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3<br>
&gt; cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow<br>
&gt; vnmi flexpriority ept vpid<br>
&gt;<br>
&gt; Thus the CPU is more than capable of everything being asked of it via<br>
&gt; the cpudef for &quot;Nehalem&quot; in /etc/qemu/target-x86_64.conf.<br>
&gt;<br>
&gt; This is only an issue on Fedora hosts. RHEL/CentOS/SL hosts work<br>
&gt; fine. This was recognized as an issue RHEL and fixed there but has<br>
&gt; not been fixed in Fedora.<br>
&gt; See: <a href="http://wiki.qemu.org/Features/CPUModels#Examples" target="_blank">http://wiki.qemu.org/Features/CPUModels#Examples</a> and this:<br>
&gt; <a href="https://bugzilla.redhat.com/show_bug.cgi?format=multiple&amp;id=689665" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?format=multiple&amp;id=689665</a><br>
&gt; and this related discussion in qemu-devel:<br>
&gt; <a href="http://www.mail-archive.com/qemu-devel@nongnu.org/msg101360.html" target="_blank">http://www.mail-archive.com/qemu-devel@nongnu.org/msg101360.html</a><br>
&gt;<br>
&gt; Thus is appears that the changes were made to the RHEL qemu (eg: cpu<br>
&gt; type rhel6) AKA the change one needs to make to the ovirt engine<br>
&gt; database to have ovirt manage a EL based host.<br>
&gt; Fedora hosts--&gt; psql -U postgres engine -c &quot;update vdc_options set<br>
&gt; option_value=&#39;pc-0.14&#39; where option_name=&#39;EmulatedMachine&#39; and<br>
&gt; version=&#39;3.0&#39;;&quot;<br>
&gt; EL hosts --&gt; psql -U postgres engine -c &quot;update vdc_options set<br>
&gt; option_value=&#39;rhel6.2.0&#39; where option_name=&#39;EmulatedMachine&#39; and<br>
&gt; version=&#39;3.0&#39;;&quot;<br>
&gt;<br>
&gt; Thus at the moment any host loaded with Fedora and manged by oVirt<br>
&gt; utilizing a Sandy Bridge, Nehalem or Westmere processor will be dead<br>
&gt; in the water.<br>
&gt;<br>
&gt; -DHC<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;<br>
</blockquote></div><br></div>