From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zvgzj-0001xY-IK for qemu-devel@nongnu.org; Mon, 09 Nov 2015 02:36:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zvgzg-0004Yz-Br for qemu-devel@nongnu.org; Mon, 09 Nov 2015 02:36:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zvgzg-0004Yv-62 for qemu-devel@nongnu.org; Mon, 09 Nov 2015 02:36:00 -0500 From: Markus Armbruster References: <1446832349-14952-1-git-send-email-stefanha@redhat.com> <20151109020043.GB17373@ad.usersys.redhat.com> Date: Mon, 09 Nov 2015 08:35:56 +0100 In-Reply-To: <20151109020043.GB17373@ad.usersys.redhat.com> (Fam Zheng's message of "Mon, 9 Nov 2015 10:00:43 +0800") Message-ID: <87y4e7pqub.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PULL 0/7] Block patches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Peter Maydell , QEMU Developers , Stefan Hajnoczi Fam Zheng writes: > On Fri, 11/06 18:07, Peter Maydell wrote: >> On 6 November 2015 at 17:52, Stefan Hajnoczi wrote: >> > The following changes since commit 4b59f39bc9a03afcc74b2fa28da7c3189fca507c: >> > >> > Merge remote-tracking branch >> > 'remotes/mjt/tags/pull-trivial-patches-2015-11-06' into staging >> > (2015-11-06 12:50:24 +0000) >> > >> > are available in the git repository at: >> > >> > git://github.com/stefanha/qemu.git tags/block-pull-request >> > >> > for you to fetch changes up to 6f707181b1bd6ccf2d2fd9397039c7ef6fa4a9fd: >> > >> > blockdev: acquire AioContext in hmp_commit() (2015-11-06 15:41:00 +0000) >> > >> > ---------------------------------------------------------------- >> >> Build failure on OSX :-( >> >> /Users/pm215/src/qemu-for-merges/aio-posix.c CC block/qcow.o >> :442:37: error: no member named 'epollfd' in 'struct AioContext' >> epoll_handler.pfd.fd = ctx->epollfd; >> ~~~ ^ >> > > :( > > I think it is harmless to always include this member in AioContext. Stefan, > could you squash this into patch 5? Thanks! > > Fam > > --- > > diff --git a/include/block/aio.h b/include/block/aio.h > index 91737d5..735f1f8 100644 > --- a/include/block/aio.h > +++ b/include/block/aio.h > @@ -124,11 +124,9 @@ struct AioContext { > QEMUTimerListGroup tlg; > > int external_disable_cnt; > -#ifdef CONFIG_EPOLL > int epollfd; > bool epoll_enabled; > bool epoll_available; > -#endif > }; Replace by the ifdeffery by a comment pointing to CONFIG_EPOLL, perhaps?