As eblake mentioned on the other mailing list, you have to have an ACPI daemon listening for ACPI events in the guest in order for 'virsh shutdown' or 'virsh reboot' to do anything. If the guest or the ACPI daemon crash, 'virsh shutdown' won't work. In my own code, I set a timeout of a minute to let guests shut down using the 'shutdown' command, and if the guest is still up after that time I issue a 'destroy'. --Igor On Wed, Apr 13, 2011 at 06:56:15PM +0300, 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 but the domians remains in a runnning state . > Only th e destroy works fine. > > Any idea ? > > thanks > > Zvi Dubitzky > Email:dubi@xxxxxxxxxx > > > _______________________________________________ > libvirt-users mailing list > libvirt-users@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/libvirt-users
Attachment:
signature.asc
Description: Digital signature