Received: from eggs.gnu.org ([208.118.235.92]:46664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9ZS6-0006qo-2g for qemu-devel@nongnu.org; Mon, 19 Mar 2012 06:04:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9ZRz-0000Iy-Ud for qemu-devel@nongnu.org; Mon, 19 Mar 2012 06:04:33 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:64809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9ZRz-0000IR-LW for qemu-devel@nongnu.org; Mon, 19 Mar 2012 06:04:27 -0400 Received: by wibhn6 with SMTP id hn6so3101860wib.10 for ; Mon, 19 Mar 2012 03:04:24 -0700 (PDT) Date: Mon, 19 Mar 2012 08:14:35 +0000 From: Stefan Hajnoczi Message-ID: <20120319081435.GA20908@stefanha-thinkpad.localdomain> References: <1330786376-9248-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] coroutine-gthread.c: Avoid threading APIs deprecated in GLib 2.31 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org, patches@linaro.org On Thu, Mar 15, 2012 at 09:55:02PM +0000, Peter Maydell wrote: > On 15 March 2012 11:21, Stefan Hajnoczi wrote: > > It's ugly but it won't cause larger scale problems, so we should > > probably pick this up. > > > > I was wondering if this is a legitimate case to override warnings - > > because the new library probably still supports the deprecated > > functions.  But eventually we need to bite the bullet and convert the > > code. > > Mmm. Eventually presumably we'll end up requiring at least glib > 2.31 and we can drop the old stuff. > > Incidentally, there's another couple of uses of g_cond_new in > trace/simple.c which probably also need conversion, but none of > my use cases involve trying to compile that file so I left it > alone... Thanks for pointing that out. I've added it to my todo list. Stefan