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

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

 



Avishay Traeger a écrit :
kvm-owner@xxxxxxxxxxxxxxx wrote on 01/24/2010 05:29:08 PM:
Anthony Liguori <anthony@xxxxxxxxxxxxx>
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?

Avishay

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Under a linux guest with the acpi package , it can be done with libvirt,
and it's work fine.

http://libvirt.org/formatdomain.html :
"||ACPI is useful for power management, for example, with KVM guests it is required for graceful shutdown to work."

Maybe the same can be done with windows guest.
I've never tested.

Regards

begin:vcard
fn:Jean-Philippe Menil
n:Menil;Jean-Philippe
org;quoted-printable:Universit=C3=A9 de Nantes;IRTS - DSI
adr;quoted-printable:;;2, rue de la Houssini=C3=A8re;Nantes;Loire-Atlantique;44322;France
email;internet:jean-philippe.menil@xxxxxxxxxxxxxx
title;quoted-printable:Administrateur r=C3=A9seau
tel;work:02.51.12.53.92
tel;fax:02.51.12.58.60
x-mozilla-html:FALSE
url:http://www.criun.univ-nantes.fr/
version:2.1
end:vcard


[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