The libvirt API has this to say regarding the shutdown command:

virDomainShutdown:
Shutdown a domain, the domain object is still usable there after but the domain OS is being stopped. Note that the guest OS may ignore the request.

It is likely a guest OS issue. Which guest are you running? I had problems shutting down Windows guests, I had to resort to Destroy too in order to make sure the guest effectively guests shut down.

On Wed, Apr 13, 2011 at 12:37 PM, <paul.worner@thomsonreuters.com> 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@il.ibm.com



Hi Zvi,

I had to install acpid on ubuntu in order to shutdown via virsh.

Paul

_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users