Hi,<br><br>So a VM with "<acpi/> " in it's xml, running linux, with kacpid running, will shutdown "gracefully" if I use virsh shutdown, right? <br><br>In all my ubuntu VMs, I only found a process called kacpid, with a very low PID. Yesterday I tried to shutdown one of them, and it didn't work. But in my debian VM, witch was shutdown yesterday too and in it's case the "virsh shutdown VM" worked fine, I found 2 running processes, as shown here: <br>

<br>debianldap:~# ps aux | grep acpid<br>root        41  0.0  0.0      0     0 ?        S<   May12   0:00 [kacpid]<br>root      1590  0.0  0.9   1768   572 ?        Ss   May12   0:00 /usr/sbin/acpid<br><br>Got it, my ubuntu VMs have no acpi support installed/running. Does anyone knows how can I enable that? <br>

<br>Thanks again. ;D<br><div class="gmail_quote">2011/5/13 Decker, Schorschi <span dir="ltr"><<a href="mailto:schorschi.decker@bankofamerica.com">schorschi.decker@bankofamerica.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

That is a major no-go from a security perspective, enabling that feature.<br>
<br>
Schorschi Decker<br>
<br>
VP; Sr. Consultant Engineer<br>
ET&D Emerging Technologies / Virtualization Platform Engineering Team<br>
Bank of America<br>
<br>
Office 213-345-4714<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:virt-tools-list-bounces@redhat.com">virt-tools-list-bounces@redhat.com</a> [mailto:<a href="mailto:virt-tools-list-bounces@redhat.com">virt-tools-list-bounces@redhat.com</a>] On Behalf Of Kenneth Armstrong<br>


Sent: Friday, 13 May, 2011 08:55<br>
To: Laurent Léonard<br>
Cc: <a href="mailto:virt-tools-list@redhat.com">virt-tools-list@redhat.com</a><br>
Subject: Re: [virt-tools-list] Why virsh shutdown does not work?<br>
<br>
Are you having this problem on Windows or Linux VMs?  I don't have this issue with Linux VMs (provided I installed them with the virtio drivers).  However, on a Windows VM there is an extra step that I do to make it work:<br>


<br>
Start>Run: gpedit.msc<br>
<br>
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Shutdown: Allow system to be shut down without having to log on<br>
<br>
-Kenny<br>
<br>
2011/5/13 Laurent Léonard <<a href="mailto:laurent@open-minds.org">laurent@open-minds.org</a>>:<br>
<div><div></div><div class="h5">> Le vendredi 13 mai 2011 13:33:54, Bruno Lamps a écrit :<br>
>> Hi,<br>
>><br>
>> As you may have noticed, I'm writing some simple backup scripts to my<br>
>> KVM vms. Because my production server runs libvirt 0.7.5, I'm not<br>
>> able to use virsh save, there's some sort of bug that make the VM to<br>
>> not always shutdown.<br>
>> So I do my backups shuting down the systems and then copying que raw<br>
>> image and the .xml file. To do so, I run "virsh shutdown VMname". For<br>
>> some reason, it doesn't works all the time, so my script currently<br>
>> waits 10 mintues to run "virsh destroy VMname", to be sure that the<br>
>> VM isn't running and then copy it's files.<br>
>><br>
>> Why "virsh shutdown" isn't working for me everytime? Is there any VM<br>
>> log where I can discover the reason? =]<br>
><br>
> "virsh shutdown" sends an ACPI shutdown call to the virtual machine.<br>
> If it never worked for one or more virtual machines, check that the<br>
> guest systems correctly handle ACPI shutdown calls.<br>
><br>
>> Can "virsh destroy" damage VMs easily?<br>
><br>
> Avoid it if you can, it has the same effect as if you unplug the power<br>
> cord for a physical machine...<br>
><br>
> --<br>
> Laurent Léonard<br>
><br>
> _______________________________________________<br>
> virt-tools-list mailing list<br>
> <a href="mailto:virt-tools-list@redhat.com">virt-tools-list@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/virt-tools-list" target="_blank">https://www.redhat.com/mailman/listinfo/virt-tools-list</a><br>
><br>
<br>
_______________________________________________<br>
virt-tools-list mailing list<br>
<a href="mailto:virt-tools-list@redhat.com">virt-tools-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/virt-tools-list" target="_blank">https://www.redhat.com/mailman/listinfo/virt-tools-list</a><br>
<br>
</div></div>----------------------------------------------------------------------<br>
This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited.<br>


Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law.<br>


The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses.<br>


<br>
References to "Sender" are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link:<br>


<a href="http://www.bankofamerica.com/emaildisclaimer" target="_blank">http://www.bankofamerica.com/emaildisclaimer</a>. By messaging with Sender you consent to the foregoing.<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
virt-tools-list mailing list<br>
<a href="mailto:virt-tools-list@redhat.com">virt-tools-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/virt-tools-list" target="_blank">https://www.redhat.com/mailman/listinfo/virt-tools-list</a><br>
</div></div></blockquote></div><br>