Re: [Qemu-devel] [PATCH 0/2] Dynamic module loading for block drivers

2016-06-22 Thread Stefan Hajnoczi
On Tue, Jun 21, 2016 at 06:59:58PM +0200, Paolo Bonzini wrote: > On 21/06/2016 17:42, Colin Lord wrote: > > It could easily return the BlockDriver then > > using the name field. It seems to me that this would work, and would be > > a fairly minor change from how things are now (in particular I thin

Re: [Qemu-devel] [PATCH 0/2] Dynamic module loading for block drivers

2016-06-21 Thread Paolo Bonzini
On 21/06/2016 17:42, Colin Lord wrote: > It could easily return the BlockDriver then > using the name field. It seems to me that this would work, and would be > a fairly minor change from how things are now (in particular I think > that symlinks wouldn't be necessary with this). Yes, I agree. p

Re: [Qemu-devel] [PATCH 0/2] Dynamic module loading for block drivers

2016-06-21 Thread Paolo Bonzini
On 21/06/2016 11:32, Stefan Hajnoczi wrote: > I think the issue comes from the fact that you are considering something > like load_block_module(const char *filename) as the API instead of > request_block_driver(const char *driver_name). In the latter case it's > possible to return a BlockDriver

[Qemu-devel] [PATCH 0/2] Dynamic module loading for block drivers

2016-06-15 Thread Colin Lord
This is a repost of some previous patches written by Marc MarĂ­ which were also reposted by Richard Jones a few months ago. The original series and reposted series are here: https://lists.gnu.org/archive/html/qemu-devel/2015-09/msg01995.html https://lists.nongnu.org/archive/html/qemu-devel/2016-04/