From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MM06I-0004nn-JD for qemu-devel@nongnu.org; Wed, 01 Jul 2009 09:43:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MM06E-0004lK-Sh for qemu-devel@nongnu.org; Wed, 01 Jul 2009 09:43:50 -0400 Received: from [199.232.76.173] (port=38037 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MM06E-0004lE-NE for qemu-devel@nongnu.org; Wed, 01 Jul 2009 09:43:46 -0400 Received: from one.firstfloor.org ([213.235.205.2]:55172) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MM06E-0005LA-2U for qemu-devel@nongnu.org; Wed, 01 Jul 2009 09:43:46 -0400 Date: Wed, 1 Jul 2009 15:43:44 +0200 From: Andi Kleen Subject: Re: [Qemu-devel] [PATCH] Allow setting qemu process name Message-ID: <20090701134344.GT6760@one.firstfloor.org> References: <20090701093251.GA12447@basil.fritz.box> <4A4B64B2.3040106@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A4B64B2.3040106@codemonkey.ws> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Andi Kleen , qemu-devel@nongnu.org On Wed, Jul 01, 2009 at 08:29:22AM -0500, Anthony Liguori wrote: > Andi Kleen wrote: > >[this is a port of a old KVM userland patch I had; Avi back then suggested > >to submit it to qemu] > > > >Set the Linux process name to the name argument specified with "-name". I > >find > >this useful to see which guests are taking CPU time in top. > > > > This is not a bad idea but it has to be optional and non-default. Maybe > a new command line option? It's only default with -name. I don't think anyone would look through /proc matching for process names, that would be too broken anyways. If they look through ps ax they would still work. Or what are you worried about that it could break? > I'd rather see qemu be the prefix unconditionally. Ok. -Andi -- ak@linux.intel.com -- Speaking for myself only.