From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:58579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gx9fY-0001sX-SG for qemu-devel@nongnu.org; Fri, 22 Feb 2019 07:11:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gx9fX-0004G1-MD for qemu-devel@nongnu.org; Fri, 22 Feb 2019 07:11:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37092) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gx9fX-0003gy-Ah for qemu-devel@nongnu.org; Fri, 22 Feb 2019 07:11:07 -0500 Date: Fri, 22 Feb 2019 12:10:38 +0000 From: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= Message-ID: <20190222121038.GO25234@redhat.com> Reply-To: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 2/3] main-loop: Add qemu_idle_add() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alberto Garcia Cc: qemu-devel@nongnu.org, Paolo Bonzini , =?utf-8?Q?Marc-Andr=C3=A9?= Lureau On Fri, Feb 22, 2019 at 01:59:11PM +0200, Alberto Garcia wrote: > This works like g_idle_add() but allows specifying a different > GMainContext. It also returns the GSource directly instead of its ID > number for convenience. >=20 > qio_task_thread_worker() is modified to make use of this new function. >=20 > Signed-off-by: Alberto Garcia > --- > include/qemu/main-loop.h | 12 ++++++++++++ > io/task.c | 10 +++------- > util/main-loop.c | 9 +++++++++ > 3 files changed, 24 insertions(+), 7 deletions(-) Reviewed-by: Daniel P. Berrang=C3=A9 Regards, Daniel --=20 |: https://berrange.com -o- https://www.flickr.com/photos/dberran= ge :| |: https://libvirt.org -o- https://fstop138.berrange.c= om :| |: https://entangle-photo.org -o- https://www.instagram.com/dberran= ge :|