[libvirt] virsh shutdown

Eric Blake eblake at redhat.com
Wed Apr 13 17:26:03 UTC 2011


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 at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110413/5597d484/attachment-0001.sig>


More information about the libvir-list mailing list