From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UL8QE-0008QR-Ik for qemu-devel@nongnu.org; Thu, 28 Mar 2013 04:42:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UL8QA-0005Ps-RJ for qemu-devel@nongnu.org; Thu, 28 Mar 2013 04:42:58 -0400 Received: from mail-qc0-x234.google.com ([2607:f8b0:400d:c01::234]:54849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UL8QA-0005Pn-Mv for qemu-devel@nongnu.org; Thu, 28 Mar 2013 04:42:54 -0400 Received: by mail-qc0-f180.google.com with SMTP id v28so4036317qcm.39 for ; Thu, 28 Mar 2013 01:42:54 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <51540287.5030202@redhat.com> Date: Thu, 28 Mar 2013 09:42:47 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1364457355-4119-1-git-send-email-qemulist@gmail.com> In-Reply-To: <1364457355-4119-1-git-send-email-qemulist@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH v2 0/4] port network layer onto glib List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liu Ping Fan Cc: Stefan Hajnoczi , Anthony Liguori , qemu-devel@nongnu.org, mdroth Il 28/03/2013 08:55, Liu Ping Fan ha scritto: > disadvantage for current AioContext > 1st. need to define and expand interface for other fd events, while glib open this interface for user * True. > 2nd. need to add support for IOCanReadHandler, while gsource provide prepare, check method to allow more flexible control The AioFlushHandler is basically the same thing as the IOCanReadHandler. > 3rd. block layer's AioContext will block other AioContexts on the same thread. I cannot understand this. > 4th. need more document I really don't think so. > disadvantage for glib > 1st. if more than one fds on the same GSource, need re-implement something like aio_set_file_handler