Re: How to properly turn off guest VM on server shutdown?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday, 24 January 2010 19:41:42 +0200,
Avishay Traeger wrote:

> > But the origin of the question here is probably, can something
> > automatically shut down guests when a machine shutdowns down via the
> > normal mechanism.  AFAIK, libvirt does not support this today
> > although there are some scripts floating around the intertubes that
> > can drive this operation through libvirt.

> Does the 'system_powerdown' monitor command initiate an ACPI shutdown?
> If so, I guess you can make an rc.d script that calls it during
> shutdown?

Interesting... I didn't know this command of Qemu Monitor.

Doing a test being connected to one of my guest by serial console, I see
that when executing the command from Qemu Monitor, guest does a normal
shutdown. But for this I believe that acpi package (Debian) must be
installed.

Thanks for the information!

Regards,
Daniel
-- 
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux