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 15:45:52 -0300 Message-ID: <20100124184552.GF24932@defiant.freesoftware> References: <4B5C5A31.7060807@web.de> <20100124151140.GC24932@defiant.freesoftware> <4B5C6425.7070000@redhat.com> <4B5C6744.8070006@codemonkey.ws> <20100124182723.GE24932@defiant.freesoftware> Reply-To: dbareiro@gmx.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WlEyl6ow+jlIgNUh" To: kvm@vger.kernel.org Return-path: Received: from mail.gmx.net ([213.165.64.20]:58513 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751549Ab0AXSqB (ORCPT ); Sun, 24 Jan 2010 13:46:01 -0500 Received: from defiant (defiant.freesoftware [10.1.0.65]) by hermes.freesoftware (Postfix) with ESMTP id B476E87E for ; Sun, 24 Jan 2010 15:46:19 -0300 (ART) Content-Disposition: inline In-Reply-To: <20100124182723.GE24932@defiant.freesoftware> Sender: kvm-owner@vger.kernel.org List-ID: --WlEyl6ow+jlIgNUh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sunday, 24 January 2010 15:27:23 -0300, Daniel Bareiro wrote: > > 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? =20 > Interesting... I didn't know this command of Qemu Monitor. >=20 > 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. Hmmm... but this does not work in OpenBSD with stock kernel with mpbios disabled. It will be necessary to configure something additional? Regards, Daniel --=20 Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598 --WlEyl6ow+jlIgNUh 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) iEYEARECAAYFAktclWAACgkQZpa/GxTmHTf9yACfYP/nUcfUsZ88fEs8hpTy97cP Uv8AoIsJ3KmH6yPRJ7dU/ks8l4yAwnfa =EeyM -----END PGP SIGNATURE----- --WlEyl6ow+jlIgNUh--