Received: from eggs.gnu.org ([2001:4830:134:3::10]:34762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boo9L-0000o9-H9 for qemu-devel@nongnu.org; Tue, 27 Sep 2016 04:54:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boo9I-0007Is-BK for qemu-devel@nongnu.org; Tue, 27 Sep 2016 04:54:03 -0400 Received: from mx6-phx2.redhat.com ([209.132.183.39]:47378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boo9I-0007IQ-1F for qemu-devel@nongnu.org; Tue, 27 Sep 2016 04:54:00 -0400 Date: Tue, 27 Sep 2016 04:53:57 -0400 (EDT) From: Paolo Bonzini Message-ID: <1575153570.3027165.1474966437735.JavaMail.zimbra@redhat.com> In-Reply-To: <20160927021251.GA10363@pxdev.xzpeter.org> References: <1474897258-1205-1-git-send-email-pbonzini@redhat.com> <20160927021251.GA10363@pxdev.xzpeter.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 Xu Cc: Peter Maydell , QEMU Developers ----- Original Message ----- > From: "Peter Xu" > To: "Peter Maydell" , "Paolo Bonzini" > Cc: "QEMU Developers" > Sent: Tuesday, September 27, 2016 4:12:51 AM > Subject: Re: [Qemu-devel] [PULL 00/28] Misc patches for 2016-09-26 >=20 > On Mon, Sep 26, 2016 at 02:19:08PM -0700, Peter Maydell wrote: >=20 > [...] >=20 > > 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 >=20 > Paolo, >=20 > Would you please help squash this into 02/28 of your PULL request to > solve above error? Shall I also redo patch 3/3 for AMD IOMMU, like this: diff --git a/hw/i386/amd_iommu.c b/hw/i386/amd_iommu.c index a868539..6365682 100644 --- a/hw/i386/amd_iommu.c +++ b/hw/i386/amd_iommu.c @@ -1072,9 +1072,12 @@ static void amdvi_iommu_notify_flag_changed(MemoryRe= gion *iommu, { AMDVIAddressSpace *as =3D container_of(iommu, AMDVIAddressSpace, iommu= ); =20 - hw_error("device %02x.%02x.%x requires iommu notifier which is not " - "currently supported", as->bus_num, PCI_SLOT(as->devfn), - PCI_FUNC(as->devfn)); + if (new & IOMMU_NOTIFIER_MAP) { + error_report("device %02x.%02x.%x requires iommu notifier which is= not " + "currently supported", as->bus_num, PCI_SLOT(as->devf= n), + PCI_FUNC(as->devfn)); + exit(1); + } } =20 static void amdvi_init(AMDVIState *s) ? Paolo