Comment 18 for bug 368962

Revision history for this message
Neil Wilson (neil-aldur) wrote : Re: [Bug 368962] Re: Can't reboot kvm virtual machines using virsh

virsh shutdown xxxx sends an ACPI shutdown to the VM.

Or you can use the ruby/python bindings if you prefer.

On 5 January 2011 15:36, flickerfly <email address hidden> wrote:
> Could someone point me to documentation on how to send an ACPI signal to
> a vm so I can script my own solution as has been suggested?
>
> Andrew: It appears that the xml already has room for this:
> http://libvir.org/formatdomain.html#elementsFeatures
>
> I have been able to shutdown by installing acpid package on the guest
> (not the acpi package) and proven that the shutdown capability can work.
> It took me awhile to figure that out so I'll just mention that here to
> save someone time.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/368962
>
> Title:
>  Can't reboot kvm virtual machines using virsh
>

--
Neil Wilson