Submitted by Lucian on Thu, 06/23/2011 - 03:12
Hi,
I noticed Cloudmin shuts down a guest by either sending the shutdown command through ssh or webmin, where it has access to the guest; where it doesn't have access it just "cuts power". Am I wrong?
Would it be possible to send the acpi shutdown through qemu monitor instead? (i think it's called "system_powerdown"). That would be great, especially as both linux distros and windows (at least 2008) respect this; so cloudmin doesn't have to rely on ssh access which might not even be available at all.
Willing to test if it helps.
Status:
Active
Comments
Submitted by JamieCameron on Thu, 06/23/2011 - 20:34 Comment #1
That's a good suggestion .. however, it would be hard to implement as the qemu monitor isn't really accessible except via the input/output of the
kvm
command, which can't be accessed as Cloudmin runskvm
in the background.There may be some other solution though - I will take a look.
Submitted by Lucian on Fri, 06/24/2011 - 00:13 Comment #2
Jamie,
That would be great. This is one of the biggest annoyances I have with kvm right now as you don't always have ssh/webmin access to the vm. Please have a look at http://kerneltrap.org/mailarchive/linux-kvm/2010/1/26/6257297/thread , particulary at http://kerneltrap.org/mailarchive/linux-kvm/2010/1/25/6257225
Let me know if I can help with anything.