From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8rHO-0001Wk-AY for qemu-devel@nongnu.org; Thu, 30 Jan 2014 08:03:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8rHH-00013q-TN for qemu-devel@nongnu.org; Thu, 30 Jan 2014 08:03:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8rHH-00013k-LR for qemu-devel@nongnu.org; Thu, 30 Jan 2014 08:03:31 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s0UD3Uf9022283 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 30 Jan 2014 08:03:30 -0500 Date: Thu, 30 Jan 2014 13:03:26 +0000 From: "Dr. David Alan Gilbert" Message-ID: <20140130130325.GA2655@work-vm> References: <1391077232-14649-1-git-send-email-dgilbert@redhat.com> <52EA4CB0.6090607@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52EA4CB0.6090607@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/3] Name threads List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: pbonzini@redhat.com, lersek@redhat.com, qemu-devel@nongnu.org, mst@redhat.com * Eric Blake (eblake@redhat.com) wrote: > On 01/30/2014 03:20 AM, Dr. David Alan Gilbert (git) wrote: > > > The first patch converts --name to use QemuOpts, a side effect of this is that > > --name process=foo,bar > > no longer allows a process name of 'foo,bar', since ',' is a separator. > > Just to make sure I understand correctly, am I right that if you want a > process name of 'foo,bar' you can still invoke --name process=foo,,bar ? Much to my surprise, apparently so: dgilbert 18228 18104 37 13:01 pts/12 00:00:03 ./bin/qemu-system-x86_64 --name process=foo,,bar [dgilbert@dgilbert-t530 try-thread]$ cat /proc/18228/comm foo,bar (I hadn't realised QemuOpts did that) > Libvirt will probably not be using this option, since it is not intended > to be a stable API, but I can definitely see the value of it for > debugging :) Great :-) Dave -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK