On 04/13/2011 12:56 AM, Zvi Dubitzky wrote:
Hi
For some reason recent libvirt code (0.8.3 and even before) the 'virsh
shutdown <domain> ' is not effective .
It issues an ok message by the domians remains in a runnning state . Only
th e destroy works fine.
Any idea ?
'virsh shutdown' is wired to cause qemu to send an ACPI shutdown signal
to the guest, which is more or less advisory. If the guest doesn't
react to that, then there's nothing that shutdown can do; virsh prints
the ok message if qemu successfully sent the ACPI signal, even if the
guest ignores the signal. Have you checked that your guests can react
to ACPI shutdown requests?
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org