From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYDZR-0007jh-A9 for qemu-devel@nongnu.org; Wed, 18 Mar 2015 08:59:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYDZQ-0002Rb-NA for qemu-devel@nongnu.org; Wed, 18 Mar 2015 08:59:37 -0400 Sender: Paolo Bonzini Message-ID: <550976AE.6050800@redhat.com> Date: Wed, 18 Mar 2015 13:59:26 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1426582438-9698-1-git-send-email-liang.z.li@intel.com> <87wq2fkelb.fsf@neno.neno> <20150318111709.GB4576@noname.redhat.com> <87k2yeh498.fsf@neno.neno> In-Reply-To: <87k2yeh498.fsf@neno.neno> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] migration: flush the bdrv before stopping VM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: quintela@redhat.com, Kevin Wolf Cc: "amit.shah@redhat.com" , "Zhang, Yang Z" , "Li, Liang Z" , "qemu-devel@nongnu.org" , qemu-block@nongnu.org On 18/03/2015 13:36, Juan Quintela wrote: > I know that the code has changed a lot on that area, the select() don't > exist anymore. It is still there in aio_poll(): ret = qemu_poll_ns((GPollFD *)ctx->pollfds->data, ctx->pollfds->len, blocking ? aio_compute_timeout(ctx) : 0); where aio_compute_timeout will usually return -1. Paolo