No subject


Thu Aug 30 15:58:33 EDT 2012


enabled

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:
def _svm_enabled_by_bios(self):
....
    (vm_cr & (1 << SVM_VM_CR_SVM_DISABLE)) == 0

I think the above means (8 & (1 << 4)) which is 0?

Best regards,

--f46d043085547935b104d020c8de
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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


<blockquote class=3D"gmail_quote" style=3D"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=3D"gmail_quote" style=3D"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-man=
ager 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><b=
r>
<br>
<blockquote class=3D"gmail_quote" style=3D"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 wh=
en I have a chance to check.<br>
<br>
</blockquote></div>
Sure.<span><font color=3D"#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 mea=
ns 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 go=
t this:<br>- enabled =3D 00000100<br>- disabled=3D 00011000<br><br>From int=
ernet: Bit 4 of MSR 0xc0010114 returns 0 means virtualization enabled<br><b=
r>

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

--f46d043085547935b104d020c8de--


More information about the Users mailing list