From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8D68-0004dR-7e for qemu-devel@nongnu.org; Tue, 28 Jan 2014 13:09:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8D62-0002ue-7p for qemu-devel@nongnu.org; Tue, 28 Jan 2014 13:09:20 -0500 Received: from mx1.redhat.com ([209.132.183.28]:16710) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8D62-0002uV-09 for qemu-devel@nongnu.org; Tue, 28 Jan 2014 13:09:14 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s0SI9BOd026069 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 28 Jan 2014 13:09:11 -0500 Date: Tue, 28 Jan 2014 18:09:06 +0000 From: "Dr. David Alan Gilbert" Message-ID: <20140128180906.GE31213@work-vm> References: <1390922439-30750-1-git-send-email-dgilbert@redhat.com> <1390922439-30750-3-git-send-email-dgilbert@redhat.com> <20140128155352.GA19526@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140128155352.GA19526@redhat.com> Subject: Re: [Qemu-devel] [PATCH 2/3] Add 'namethreads' suboption to --name List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: pbonzini@redhat.com, lersek@redhat.com, qemu-devel@nongnu.org * Michael S. Tsirkin (mst@redhat.com) wrote: > On Tue, Jan 28, 2014 at 03:20:38PM +0000, Dr. David Alan Gilbert (git) wrote: > > From: "Dr. David Alan Gilbert" > > > > Add flag storage to qemu-thread-* to store the namethreads flag > > > > Signed-off-by: Dr. David Alan Gilbert > > How about a pattern? threads='vmfoo-%s' and have qemu fill in > specific strings for %s. The size of the name is limited to 16bytes according to the manpage for pthread_setname_sn, so things start to get a bit squashed if you try and have a vmname and anything else useful in the one name. Dave -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK