From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Gollub Subject: Re: [PATCH] qemu-kvm: Handle -no-shutodwn Date: Wed, 20 May 2009 14:20:00 +0200 Message-ID: <200905201420.01237.gollub@b1-systems.de> References: <200905192328.31362.gollub@b1-systems.de> <4A13EEB4.9090703@redhat.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from d112a2.x-mailer.de ([212.162.53.4]:54179 "EHLO d112a2.x-mailer.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755453AbZETMXK convert rfc822-to-8bit (ORCPT ); Wed, 20 May 2009 08:23:10 -0400 In-Reply-To: <4A13EEB4.9090703@redhat.com> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On Wednesday 20 May 2009 01:51:16 pm Avi Kivity wrote: > Daniel Gollub wrote: > > Plain QEMU has the parameter -no-shutdown. This avoids termination = of the > > qemu process when VM got shutdown (e.g. to still use the QEMU-Monit= or > > with stopped VM). This parameter has no effect on qemu-kvm, today. > > > > This patch introduces identical handling, as in qemu, of -no-shutdo= wn for > > qemu-kvm: > > > > * termination of qemu-kvm process on a VM shutdown get only avoide= d once > > * second shutdown of VM cause termination of qemu-kvm (like in qem= u) > > > > =20 > > Applied, thanks. > > What is the reason for the wierd semantics? No idea. > I'd expect -no-shutdown to > keep functioning even after the first shutdown. I would prefer something like this as well. But this way it's 1:1 the s= ame=20 behavior as with plain QEMU. I'll prepare a propsoal + patch for changi= ng this=20 in QEMU. If this gets accepted i'll changed it for qemu-kvm as well. Best Regards, Daniel --=20 Daniel Gollub Geschaeftsfuehrer: Ralph Dehner =46OSS Developer Unternehmenssitz: Vohburg B1 Systems GmbH Amtsgericht: Ingolstadt Mobil: +49-(0)-160 47 73 970 Handelsregister: HRB 3537 EMail: gollub@b1-systems.de http://www.b1-systems.de Adresse: B1 Systems GmbH, Osterfeldstra=DFe 7, 85088 Vohburg http://pgpkeys.pca.dfn.de/pks/lookup?op=3Dget&search=3D0xED14B95C2F8CA7= 8D