Hello,<div><br></div><div>Also, that error might also be produced by an out-dated version of KVM. What version of KVM and libvirt are you running and under what OS?</div><div><br></div><div>cheers,</div><div>Jaime</div><div>

<br><br><div class="gmail_quote">On Tue, Aug 10, 2010 at 5:24 PM, Jaime Melis <span dir="ltr"><<a href="mailto:j.melis@fdi.ucm.es">j.melis@fdi.ucm.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hello,<div><br></div><div>KVM supports both para-virtualization and full-virtualization. In libvirt (used by OpenNebula for KVM), the type of virtualization is specified in the domain file, under the "type" element. If <type>hvm</type> (hardware virtual machine) then it requires full-virtualization. Take a look at: <a href="http://libvirt.org/formatdomain.html#elementsOSBIOS" target="_blank">http://libvirt.org/formatdomain.html#elementsOSBIOS</a></div>


<div><br></div><div>I'm guessing the problem you're having is that either your hardware does not support hardware virtualization or, as suggested by Ricky Melgares, it's not enabled in the BIOS.</div><div><br>


</div><div>To check for harware virtualization support take a look at:</div><div><a href="http://www.linux-kvm.org/page/FAQ#Preparing_to_use_KVM" target="_blank">http://www.linux-kvm.org/page/FAQ#Preparing_to_use_KVM</a></div>

<div><br></div>
<div>cheers,</div><div>Jaime</div><div><div></div><div class="h5"><div><br><div class="gmail_quote">On Tue, Aug 10, 2010 at 1:52 PM, Chris Sarginson <span dir="ltr"><<a href="mailto:Chris.Sarginson@ukfast.co.uk" target="_blank">Chris.Sarginson@ukfast.co.uk</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">








<div lang="EN-GB" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Is hvm not for Xen deployments, rather than KVM?</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> <a href="mailto:users-bounces@lists.opennebula.org" target="_blank">users-bounces@lists.opennebula.org</a>
[mailto:<a href="mailto:users-bounces@lists.opennebula.org" target="_blank">users-bounces@lists.opennebula.org</a>] <b>On Behalf Of </b>Diego Perez
Fabado<br>
<b>Sent:</b> 10 August 2010 08:51<br>
<b>To:</b> Phuwadon (Aun) Danrahan</span></p><div><br>
<b>Cc:</b> <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br>
</div><div><b>Subject:</b> Re: [one-users] Failed during boot</div><p></p>

</div>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

<p class="MsoNormal" style="margin-left:36.0pt">Hello I'm also having a similar
problem with kvm, any help would be very appreciated </p><div><div></div><div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

</div>

<div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt">Tue Aug 10 10:40:43 2010 [VMM][I]:
Generating deployment file: /opt/opennebula/var/89/deployment.0</p>

</div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt">Tue Aug 10 10:40:43 2010
[VMM][I]: Command execution fail: 'mkdir -p /opt/opennebula/var/89/images
&& cat > /opt/opennebula/var/89/images/deployment.0 && virsh
--connect qemu:///system create /opt/opennebula/var/89/images/deployment.0'</p>

</div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt">Tue Aug 10 10:40:43 2010
[VMM][I]: STDERR follows.</p>

</div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt">Tue Aug 10 10:40:43 2010
[VMM][I]: error: Failed to create domain from
/opt/opennebula/var/89/images/deployment.0</p>

</div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt">Tue Aug 10 10:40:43 2010
[VMM][I]: error: internal error no supported architecture for os type 'hvm'</p>

</div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt">Tue Aug 10 10:40:43 2010
[VMM][I]: ExitCode: 1</p>

</div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt">Tue Aug 10 10:40:43 2010
[VMM][E]: Error deploying virtual machine</p>

</div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

</div>

<p class="MsoNormal" style="margin-left:36.0pt">Thank you very much!!!</p>

</div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

</div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

<div>

<p class="MsoNormal" style="margin-left:36.0pt">2010/8/10 Phuwadon (Aun) Danrahan
<<a href="mailto:phuwadon@tarad.com" target="_blank">phuwadon@tarad.com</a>></p>

<p class="MsoNormal" style="margin-left:36.0pt">Note: i manually create the .img
file by using command "qemu-img create -f qcow2 /opt/image/myimage.img
14G" . I'm very new to OpenNebula.</p>

<div>

<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt"><br>
<br>
<br>
Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 Command execution
fail: 'mkdir -p /srv/cloud/one/var//21/images && cat >
/srv/cloud/one/var//21/images/deployment.0 && virsh --connect
qemu:///system create /srv/cloud/one/var//21/images/deployment.0'<br>
<br>
Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 STDERR follows.</p>

</div>

<p class="MsoNormal" style="margin-left:36.0pt">Tue Aug 10 11:54:18 2010
[VMM][D]: Message received: LOG - 21 error: Failed to create domain from
/srv/cloud/one/var//21/images/deployment.0<br>
<br>
Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 error: internal
error Domain one-21 didn't show up</p>

<div>

<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt"><br>
<br>
Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21</p>

</div>

<p class="MsoNormal" style="margin-left:36.0pt">Tue Aug 10 11:54:18 2010
[VMM][D]: Message received: LOG - 21 ExitCode: 1<br>
<br>
Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: DEPLOY FAILURE 21 -<br>
<br>
Tue Aug 10 11:54:19 2010 [TM][D]: Message received: LOG - 21 tm_delete.sh:
Deleting /srv/cloud/one/var//21/images<br>
<br>
Tue Aug 10 11:54:19 2010 [TM][D]: Message received: LOG - 21 tm_delete.sh:
Executed "ssh devvm1 rm -rf /srv/cloud/one/var//21/images".<br>
<br>
Tue Aug 10 11:54:19 2010 [TM][D]: Message received: TRANSFER SUCCESS 21 -<br>
<br>
<br>
On 10/8/2553 12:07, Ricky Melgares wrote:</p>

<p class="MsoNormal" style="margin-left:36.0pt">Can you please list the next
couple of lines that follow the STDERR line.</p>

<div>

<p class="MsoNormal" style="margin-left:36.0pt"><br>
<br>
On Aug 10, 2010, at 1:02 AM, Phuwadon (Aun) Danrahan wrote:<br>
<br>
  </p>

<p class="MsoNormal" style="margin-left:36.0pt">Hello,<br>
<br>
I'm testing my first OpenNebular cloud and got an error that need your support.
Anyone, know howto fix this error.<br>
<br>
<br>
Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 Command execution
fail: 'mkdir -p /srv/cloud/one/var//21/images&&  cat>
 /srv/cloud/one/var//21/images/deployment.0&&  virsh
--connect qemu:///system create /srv/cloud/one/var//21/images/deployment.0'<br>
<br>
Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 STDERR follows.<br>
<br>
<br>
This error occurred after i ran "onevm create myvhost". I did not see
the file /srv/cloud/one/var//21/images/deployment.0 but i could see
/srv/cloud/one/var//21/deployment.0<br>
    </p>

<p class="MsoNormal" style="margin-left:36.0pt">  </p>

</div>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

<div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a></p>

</div>

</div>

</div>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

</div>

</div></div></div>

</div>


<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>