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

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, <> wrote:
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 ?


Zvi Dubitzky

Hi Zvi,

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


libvirt-users mailing list