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 12:11:40 -0300 Message-ID: <20100124151140.GC24932@defiant.freesoftware> References: <4B5C5A31.7060807@web.de> Reply-To: dbareiro@gmx.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kfjH4zxOES6UT95V" To: kvm@vger.kernel.org Return-path: Received: from mail.gmx.net ([213.165.64.20]:53587 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752762Ab0AXPLq (ORCPT ); Sun, 24 Jan 2010 10:11:46 -0500 Received: from defiant (defiant.freesoftware [10.1.0.65]) by hermes.freesoftware (Postfix) with ESMTP id 222EC87E for ; Sun, 24 Jan 2010 12:12:08 -0300 (ART) Content-Disposition: inline In-Reply-To: <4B5C5A31.7060807@web.de> Sender: kvm-owner@vger.kernel.org List-ID: --kfjH4zxOES6UT95V Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sunday, 24 January 2010 15:33:21 +0100, Andr=E9 Weidemann wrote: > Hi, Hi, Andr=E9. > is there a mechanism inside qemu-kvm that can shutdown the OS inside a = =20 > VM when the qemu-kvm process receives a kill signal? > I am running Windows7 Pro inside a VM and I would like kvm to shut the = =20 > Windows system down before the process is killed. > I know that VMware can shut down the guest OS when stopping the VMware = =20 > instance. Is there a similar feature in KVM? It is an interesting question :-) I know that this can be done with libvirt. I had tested it with GNU/Linux and it worked. I don't use Windows, so I cannot help you in this sense. But also it would interest to me to know if this can be done without using libvirt. Regards, Daniel --=20 Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598 --kfjH4zxOES6UT95V 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) iEYEARECAAYFAktcYywACgkQZpa/GxTmHTdAoQCeMALnqX2dOM3bUArVkh5rzjoO HHkAnAzuR3x0T4yuCFPCZObAlLCg5Aa2 =R4Y5 -----END PGP SIGNATURE----- --kfjH4zxOES6UT95V--