On Wed, Apr 23, 2008 at 10:40 AM, <[EMAIL PROTECTED]> wrote: > Hi, > I'm trying libvirt-0.4.2, it should support initiating guest shutdown for > KVM domains. But for some reason it doesn't work for me, I'm using linux > guests with external kernel, if I run poweroff from within the domain, it > shutdowns correctly, but trying to shutdown the domain from host using > libvirt doesn't have any effect. > Does somebody know where the problem could be? How does sending shutdown > work in KVM/qemu at all? How can I debug it?
libvirt sends "system_powerdown" to the monitor; is ACPI is enabled then the guest sees the event but it's free to ignore it (it's the same as pressing the power button on a real machine: the OS sees the event and may start the shutdown, ask the user what to do, ignore it, etc.); e.g. the default ACPI script of the debian stops the desktop manager if it's running but doesn't shut down the machine. If the ACPI daemon is not running in the guest then the event is lost... Luca ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel