From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fiukK-0001iW-Dq for qemu-devel@nongnu.org; Fri, 27 Jul 2018 00:52:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fiukH-0001sl-CP for qemu-devel@nongnu.org; Fri, 27 Jul 2018 00:52:56 -0400 Received: from mail.ispras.ru ([83.149.199.45]:44484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fiukH-0001s6-4S for qemu-devel@nongnu.org; Fri, 27 Jul 2018 00:52:53 -0400 From: "Pavel Dovgalyuk" References: <20180725121311.12867.21729.stgit@pasha-VirtualBox> <20180725121701.12867.49392.stgit@pasha-VirtualBox> <87zhyerotn.fsf@linaro.org> In-Reply-To: <87zhyerotn.fsf@linaro.org> Date: Fri, 27 Jul 2018 07:52:55 +0300 Message-ID: <000301d42565$aeeb2e40$0cc18ac0$@ru> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-Language: ru Subject: Re: [Qemu-devel] [PATCH v5 23/24] replay: add BH oneshot event for block layer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?'Alex_Benn=C3=A9e'?= , 'Pavel Dovgalyuk' Cc: qemu-devel@nongnu.org, kwolf@redhat.com, peter.maydell@linaro.org, war2jordan@live.com, crosthwaite.peter@gmail.com, boost.lists@gmail.com, quintela@redhat.com, ciro.santilli@gmail.com, jasowang@redhat.com, mst@redhat.com, zuban32s@gmail.com, armbru@redhat.com, maria.klimushenkova@ispras.ru, kraxel@redhat.com, thomas.dullien@googlemail.com, pbonzini@redhat.com, mreitz@redhat.com, dgilbert@redhat.com, rth@twiddle.net > From: Alex Benn=C3=A9e [mailto:alex.bennee@linaro.org] > > Replay is capable of recording normal BH events, but sometimes > > there are single use callbacks scheduled with = aio_bh_schedule_oneshot > > function. This patch enables recording and replaying such callbacks. > > Block layer uses these events for calling the completion function. > > Replaying these calls makes the execution deterministic. > > > > Signed-off-by: Pavel Dovgalyuk >=20 > I'm not sure what about this commit causes the compile breakage I'm > seeing: >=20 > LINK aarch64-linux-user/qemu-aarch64 > ../libqemuutil.a(cpu-get-icount.o):(.bss+0x0): multiple definition of = `use_icount' > exec.o:(.bss+0x58): first defined here > collect2: error: ld returned 1 exit status > Makefile:199: recipe for target 'qemu-aarch64' failed > make[1]: *** [qemu-aarch64] Error 1 > Makefile:481: recipe for target 'subdir-aarch64-linux-user' failed > make: *** [subdir-aarch64-linux-user] Error 2 >=20 > It only occurs on a make clean && make -j on that commit though. It's > hidden if you do incremental builds. make distclean works for me in such cases. Pavel Dovgalyuk