<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 5, 2012 at 8:05 PM, Douglas Landgraf <span dir="ltr">&lt;<a href="mailto:dougsland@redhat.com" target="_blank">dougsland@redhat.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Christian,<div><br>
<br>
On 12/05/2012 09:54 AM, Cristian Falcas wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi,<br>
<br>
The latest otopi installer is failing with the following error:<br>
<br>
virtualization support AuthenticAMD (cpu: True, bios: False)<br>
and<br>
RuntimeError: Hardware does not support virtualization<br>
<br>
Running rdmsr also says that virtualization is not enabled in bios:<br>
./rdmsr --bitfield 4:4 0xc0010114<br>
0<br>
<br>
Is the bios flag mandatory for virtualization? On the same machine virt-manager works and can start virtual machines.<br>
<br>
</blockquote></div>
oVirt is based on KVM which requires full virtualization (bios flag enabled).<br>
In your case, looks like virt-manager is using pure qemu to emulate.<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I can&#39;t check now what is in bios, but I will update with the status when I have a chance to check.<br>
<br>
</blockquote></div>
Sure.<span><font color="#888888"><br>
<br>
<br>
<br>
-- <br>
Cheers<br>
Douglas<br>
<br>
</font></span></blockquote></div><br><br>I checked and I had virtualization enabled in bios.<br><br>Also, I was mistaken and the result from rdmsr means bios is ok: result is supposed to be 0 (based on kvm-ok script).<br>


<br>I did the test with and without virtualization enabled in bios and I got this:<br>- enabled = 00000100<br>- disabled= 00011000<br><br>From internet: Bit 4 of MSR 0xc0010114 returns 0 means virtualization enabled<br><br>

Based on this, I think that the check in /usr/share/ovirt-host-deploy/plugins/ovirt-host-deploy/vdsm/hardware.py it should not be  != 0, but:<br>def _svm_enabled_by_bios(self):<br>....<br>
    (vm_cr &amp; (1 &lt;&lt; SVM_VM_CR_SVM_DISABLE)) == 0<br><br>I think the above means (8 &amp; (1 &lt;&lt; 4)) which is 0? <br><br>Best regards,<br></div>