From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLWbL-0002WL-9l for qemu-devel@nongnu.org; Mon, 16 Sep 2013 07:04:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VLWbH-0002th-Gb for qemu-devel@nongnu.org; Mon, 16 Sep 2013 07:04:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLWbH-0002tN-8j for qemu-devel@nongnu.org; Mon, 16 Sep 2013 07:04:15 -0400 Date: Mon, 16 Sep 2013 12:04:03 +0100 From: "Daniel P. Berrange" Message-ID: <20130916110403.GK6005@redhat.com> References: <1379314227-8855-1-git-send-email-famz@redhat.com> <1379314227-8855-6-git-send-email-famz@redhat.com> <20130916085902.GA6005@redhat.com> <5236D318.4080206@redhat.com> <20130916095121.GD22783@T430s.nay.redhat.com> <3AD10BC4-9EDC-4FDA-BC0D-D1380C5904C2@alex.org.uk> <5236DFBE.2000801@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v10 5/8] module: implement module loading Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Bligh Cc: peter.maydell@linaro.org, famz@redhat.com, mjt@tls.msk.ru, qemu-devel@nongnu.org, Paolo Bonzini , vilanova@ac.upc.edu, rth@twiddle.net On Mon, Sep 16, 2013 at 12:00:47PM +0100, Alex Bligh wrote: > > However, even if you don't use weak symbols, we could simply dlopen() > a fixed list of modules known at compile time from a single directory > (because we also know at compile which executable needs what, e.g. > that qemu-img doesn't need spice or whatever). That's what this latest patch series already does, albeit with some redundant complexity of trying to split the modules into UI/Net/Block lists. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|