From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8Dpg-0002dl-Fp for qemu-devel@nongnu.org; Tue, 28 Jan 2014 13:56:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8Dpa-0002DU-HO for qemu-devel@nongnu.org; Tue, 28 Jan 2014 13:56:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:24197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8Dpa-0002DQ-AR for qemu-devel@nongnu.org; Tue, 28 Jan 2014 13:56:18 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s0SIuHcE014980 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 28 Jan 2014 13:56:17 -0500 Date: Tue, 28 Jan 2014 21:01:05 +0200 From: "Michael S. Tsirkin" Message-ID: <20140128190105.GB20015@redhat.com> References: <1390922439-30750-1-git-send-email-dgilbert@redhat.com> <1390922439-30750-3-git-send-email-dgilbert@redhat.com> <20140128155352.GA19526@redhat.com> <20140128180906.GE31213@work-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140128180906.GE31213@work-vm> 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: "Dr. David Alan Gilbert" Cc: pbonzini@redhat.com, lersek@redhat.com, qemu-devel@nongnu.org On Tue, Jan 28, 2014 at 06:09:06PM +0000, Dr. David Alan Gilbert wrote: > * 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 I see. Well, as long as it's a debug only flag, I guess that's fine. > -- > Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK