From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bareiro Subject: Re: How to properly turn off guest VM on server shutdown? Date: Sun, 24 Jan 2010 14:00:15 -0300 Message-ID: <20100124170015.GD24932@defiant.freesoftware> References: <4B5C5A31.7060807@web.de> <20100124151140.GC24932@defiant.freesoftware> <4B5C6425.7070000@redhat.com> <4B5C6744.8070006@codemonkey.ws> Reply-To: dbareiro@gmx.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jCrbxBqMcLqd4mOl" To: kvm@vger.kernel.org Return-path: Received: from mail.gmx.net ([213.165.64.20]:50035 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753352Ab0AXRAZ (ORCPT ); Sun, 24 Jan 2010 12:00:25 -0500 Received: from defiant (defiant.freesoftware [10.1.0.65]) by hermes.freesoftware (Postfix) with ESMTP id 7871887E for ; Sun, 24 Jan 2010 14:00:43 -0300 (ART) Content-Disposition: inline In-Reply-To: <4B5C6744.8070006@codemonkey.ws> Sender: kvm-owner@vger.kernel.org List-ID: --jCrbxBqMcLqd4mOl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Anthony. On Sunday, 24 January 2010 09:29:08 -0600, Anthony Liguori 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. Well.. perhaps I'm confused because I did these tests a long time ago. But now that you mention it, I believe that I had tried was that, through virsh commands, the VM shutdown could be done from the VMHost being it always running. I suppose that scripts that you mention will call to virsh when shutdown becomes of the VMHost. Regards, Daniel --=20 Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598 --jCrbxBqMcLqd4mOl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktcfJ8ACgkQZpa/GxTmHTd4RQCgiusme0AkON9mnNCEYxYi/nZm b4UAn3YfeZztYI3YdgCZ9ghJoTYtMQ86 =rnWS -----END PGP SIGNATURE----- --jCrbxBqMcLqd4mOl--