Hi,<br><br>From the libvirt doc. [1]:<br><dl><dd>ACPI is useful for power management, for example, with
KVM guests it is required for graceful shutdown to work.
</dd></dl>If you set ACPI = YES, then your VM should have the ACPI daemon running and be configured to shutdown with the ACPI signal . For instance, I think Ubuntu Desktop shows the log out menu instead.<br><br>Regards,<br>
Carlos<br><br>[1] <a href="http://libvirt.org/formatdomain.html" target="_blank">http://libvirt.org/formatdomain.html</a><br><br clear="all"><span style="border-collapse:collapse;color:rgb(136, 136, 136);font-family:arial, sans-serif;font-size:13px">--<br>
Carlos Martín, MSc<br>Project Major Contributor<br><span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">OpenNebula</span> - The Open Source Toolkit for Cloud Computing<br>
<a href="http://www.opennebula.org/" style="color:rgb(42, 93, 176)" target="_blank">www.<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">OpenNebula</span>.org</a> | <a href="mailto:cmartin@opennebula.org" style="color:rgb(42, 93, 176)" target="_blank">cmartin@<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">opennebula</span>.org</a></span><br>
<br><br><div class="gmail_quote">On Fri, May 6, 2011 at 6:21 AM, Khoa Nguyen <span dir="ltr"><<a href="mailto:vankhoa011@gmail.com" target="_blank">vankhoa011@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hj all<br>I'm working with opennebula and KVM.<br>In file template of VM<br> FEATURES=[<br> <br> acpi={yes|no} ]<br><br>When i put "yes" into acpi, VM don't shut down, <br>It display<br>
at May 7 16:13:35 2011 [LCM][I]: New VM state is BOOT<br>
Sat May 7 16:13:35 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/160/deployment.0<br>Sat May 7 16:13:46 2011 [LCM][I]: New VM state is RUNNING<br>Sat May 7 16:14:40 2011 [LCM][I]: New VM state is SHUTDOWN<br>
Sat May 7 16:15:14 2011 [VMM][I]: Command execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/shutdown" ]; then /var/tmp/one/vmm/kvm/shutdown one-160; else exit 42; fi'<br>Sat May 7 16:15:14 2011 [VMM][I]: STDERR follows.<br>
Sat May 7 16:15:14 2011 [VMM][I]: Connecting to uri: qemu:///system<br>Sat May 7 16:15:14 2011 [VMM][I]: Timeout reached<br>Sat May 7 16:15:14 2011 [VMM][I]: ExitCode: 1<br>Sat May 7 16:15:14 2011 [VMM][E]: Error shuting down VM, Connecting to uri: qemu:///system<br>
Sat May 7 16:15:14 2011 [LCM][I]: Fail to shutdown VM. Assuming that the VM is still RUNNING (will poll VM).<br>Sat May 7 16:15:25 2011 [VMM][D]: Monitor Information:<br> CPU : -1<br> Memory: 262144<br> Net_TX: -1<br>
Net_RX: -1<br clear="all"><br>Howerver when i put "no" into acpi .It shut down sucessfully . I don't know why? please help me.<br>thank you in advance<br><font color="#888888">-- <br>Nguyễn Vũ Văn Khoa<br>
Đại học Khoa Học Tự Nhiên TP HCM<br>
<br><br>
</font><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>