Re: [Bug 368962] Re: Can't reboot kvm virtual machines using virsh

2011-09-02 Thread Soren Hansen
Yup, but unless you've installed acpid, it'll do exactly nothing. Just FYI. I'm honestly not sure whether Ubuntu server does that by default these days. Sent from my phone. Pardon my brevity. Den 02/09/2011 17.27 skrev "Neil Wilson" : > 0.9.3 libvirt has native qemu/kvm reboot support baked in no

Re: [Bug 368962] Re: Can't reboot kvm virtual machines using virsh

2011-01-05 Thread Neil Wilson
virsh shutdown 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 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? > > An

Re: [Bug 368962] Re: Can't reboot kvm virtual machines using virsh

2010-04-25 Thread Soren Hansen
On Sun, Apr 25, 2010 at 04:35:25PM -, Neil Wilson wrote: >> So you would have the call hang for some amount of time until you >> decide that by then it should have shut down and then return failure? >> How long would you suggest? Remember, libvirt API calls are not >> asynchronous, so > Pick a

Re: [Bug 368962] Re: Can't reboot kvm virtual machines using virsh

2010-04-25 Thread Neil Wilson
On 25 April 2010 16:20, Soren Hansen wrote: > So you would have the call hang for some amount of time until you decide > that by then it should have shut down and then return failure? How long > would you suggest? Remember, libvirt API calls are not asynchronous, so Pick a number. it's a synchron

Re: [Bug 368962] Re: Can't reboot kvm virtual machines using virsh

2010-04-25 Thread Soren Hansen
On Sun, Apr 25, 2010 at 02:00:11PM -, Neil Wilson wrote: > Power off via ACPI, if it powers off, power it back on again else > report 'refuse to respond to ACPI shutdown'. So you would have the call hang for some amount of time until you decide that by then it should have shut down and then re

Re: [Bug 368962] Re: Can't reboot kvm virtual machines using virsh

2010-04-25 Thread Soren Hansen
On Sun, Apr 25, 2010 at 01:44:32PM -, Andrew Bolster wrote: > The severity is a matter opinion, but if several users feel it is severe > to them, it qualifies as High, as per the provided link. To be perfectly honest, I have a hard time taking it seriously that it's supposedly a severe impedim

Re: [Bug 368962] Re: Can't reboot kvm virtual machines using virsh

2010-04-25 Thread Neil Wilson
Power off via ACPI, if it powers off, power it back on again else report 'refuse to respond to ACPI shutdown'. Simples On 25 April 2010 14:23, Soren Hansen wrote: > I really don't consider this High importance at all[1], and I doubt this > will get fixed any time soon, if ever. There's simply no