lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 21 Sep 2015 12:53:07 +0000 From: "Wu, Feng" <feng.wu@...el.com> To: Paolo Bonzini <pbonzini@...hat.com>, "alex.williamson@...hat.com" <alex.williamson@...hat.com>, "joro@...tes.org" <joro@...tes.org>, "mtosatti@...hat.com" <mtosatti@...hat.com> CC: "eric.auger@...aro.org" <eric.auger@...aro.org>, "kvm@...r.kernel.org" <kvm@...r.kernel.org>, "iommu@...ts.linux-foundation.org" <iommu@...ts.linux-foundation.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "Wu, Feng" <feng.wu@...el.com> Subject: RE: [PATCH v9 12/18] vfio: Register/unregister irq_bypass_producer > -----Original Message----- > From: Paolo Bonzini [mailto:pbonzini@...hat.com] > Sent: Monday, September 21, 2015 5:32 PM > To: Wu, Feng; alex.williamson@...hat.com; joro@...tes.org; > mtosatti@...hat.com > Cc: eric.auger@...aro.org; kvm@...r.kernel.org; > iommu@...ts.linux-foundation.org; linux-kernel@...r.kernel.org > Subject: Re: [PATCH v9 12/18] vfio: Register/unregister irq_bypass_producer > > > > On 21/09/2015 10:56, Wu, Feng wrote: > > Hi Paolo & Alex, > > > > I find that there is a build error in the following two cases: > > - KVM is configured as 'M' and VFIO as 'Y' > > The reason is the build of irqbypass manager is triggered in > > arch/x86/kvm/Makefile, and VFIO is built before KVM, hence > > it cannot find the symbols in irqbypass manager. > > > > - Disable KVM and enable VFIO in .config > > The reason is similar with the above one, the irqbypass manager > > is not built since KVM is not configured. > > > > I think the point is that we cannot trigger the build of irqbypass > > manager inside KVM or VFIO, we need trigger the build at a high > > level and it should be built before VFIO and KVM. Any ideas? > > We can add virt/Makefile and build virt/lib/ directly, not through > arch/x86/kvm. Thinking about this more, does that mean we need to add the virt directory in the top Makefile in Linux tree? Thanks, Feng > > Paolo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists