[libvirt] vm can not be shutdown

Peter Krempa pkrempa at redhat.com
Mon Mar 4 08:21:59 UTC 2013


On 03/04/13 03:51, yue wrote:

Hi,

> i use libvirt-python call shutdownFlags, but it can not assure VM can be
> shutdown.
> how to make shutdownFlags call work?   install  or configure something?
> thanks

There are two ways how the shutdown API works:

1) by default an ACPI shutdown event is emitted by qemu and the guests 
ACPI daemon is responsible for taking down the host. Some linux distros 
don't install it by default in minimal installations, so you may need to 
do this manually.

2) In case you have a guest agent configured, you have to start the 
guest agent in the guest OS.

Peter





More information about the libvir-list mailing list