Received: from eggs.gnu.org ([2001:4830:134:3::10]:43468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bohtH-0003zg-6T for qemu-devel@nongnu.org; Mon, 26 Sep 2016 22:13:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bohtC-0008ME-Uv for qemu-devel@nongnu.org; Mon, 26 Sep 2016 22:13:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bohtC-0008Lz-OV for qemu-devel@nongnu.org; Mon, 26 Sep 2016 22:12:58 -0400 Date: Tue, 27 Sep 2016 10:12:51 +0800 From: Peter Xu Message-ID: <20160927021251.GA10363@pxdev.xzpeter.org> References: <1474897258-1205-1-git-send-email-pbonzini@redhat.com> 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] [PULL 00/28] Misc patches for 2016-09-26 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Paolo Bonzini Cc: QEMU Developers On Mon, Sep 26, 2016 at 02:19:08PM -0700, Peter Maydell wrote: [...] > I also see this compile failure: >=20 > CC i386-softmmu/hw/i386/amd_iommu.o > /home/petmay01/linaro/qemu-for-merges/hw/i386/amd_iommu.c: In function > =E2=80=98amdvi_init=E2=80=99: > /home/petmay01/linaro/qemu-for-merges/hw/i386/amd_iommu.c:1083:17: > error: =E2=80=98MemoryRegionIOMMUOps {aka struct MemoryRegionIOMMUOps}=E2= =80=99 has no > member named =E2=80=98notify_started=E2=80=99 > s->iommu_ops.notify_started =3D amdvi_iommu_notify_started; > ^ > /home/petmay01/linaro/qemu-for-merges/rules.mak:60: recipe for target > 'hw/i386/amd_iommu.o' failed Paolo, Would you please help squash this into 02/28 of your PULL request to solve above error? ----------8<------------ diff --git a/hw/i386/amd_iommu.c b/hw/i386/amd_iommu.c index a91a179..a868539 100644 --- a/hw/i386/amd_iommu.c +++ b/hw/i386/amd_iommu.c @@ -1066,7 +1066,9 @@ static const MemoryRegionOps mmio_mem_ops =3D { } }; =20 -static void amdvi_iommu_notify_started(MemoryRegion *iommu) +static void amdvi_iommu_notify_flag_changed(MemoryRegion *iommu, + IOMMUNotifierFlag old, + IOMMUNotifierFlag new) { AMDVIAddressSpace *as =3D container_of(iommu, AMDVIAddressSpace, iom= mu); =20 @@ -1080,7 +1082,7 @@ static void amdvi_init(AMDVIState *s) amdvi_iotlb_reset(s); =20 s->iommu_ops.translate =3D amdvi_translate; - s->iommu_ops.notify_started =3D amdvi_iommu_notify_started; + s->iommu_ops.notify_flag_changed =3D amdvi_iommu_notify_flag_changed= ; s->devtab_len =3D 0; s->cmdbuf_len =3D 0; s->cmdbuf_head =3D 0; ---------->8------------ Please ping me if you prefer a re-send. Thanks! -- peterx