From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MM3q7-0007K8-9G for qemu-devel@nongnu.org; Wed, 01 Jul 2009 13:43:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MM3q2-0007Bs-Dn for qemu-devel@nongnu.org; Wed, 01 Jul 2009 13:43:22 -0400 Received: from [199.232.76.173] (port=34017 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MM3q2-0007BK-2q for qemu-devel@nongnu.org; Wed, 01 Jul 2009 13:43:18 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:60089) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MM3q1-00013k-GA for qemu-devel@nongnu.org; Wed, 01 Jul 2009 13:43:17 -0400 Message-ID: <4A4BA02F.9060700@mail.berlios.de> Date: Wed, 01 Jul 2009 19:43:11 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Allow setting qemu process name References: <20090701093251.GA12447@basil.fritz.box> <4A4B64B2.3040106@codemonkey.ws> <4A4B7BC6.8080407@redhat.com> In-Reply-To: <4A4B7BC6.8080407@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Andi Kleen , qemu-devel@nongnu.org Avi Kivity schrieb: > On 07/01/2009 04:29 PM, 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? > > -name [title=]blah[,process=foobar] > >> + } else { >> + set_proc_name("qemu", qemu_name); >> } >> >> I'd rather see qemu be the prefix unconditionally. > > Why have a prefix at all? The user can add it if they're so inclined. > I'd prefer a solution without prefix, too. The SDL caption is another place where the prefix ("QEMU (qemu_name)") is not needed. Stefan