[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Loadable block drivers?
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] Loadable block drivers? |
Date: |
Tue, 3 Apr 2018 11:30:33 +0800 |
User-agent: |
Mutt/1.9.2 (2017-12-15) |
On Tue, 04/03 13:17, Lindsay Mathieson wrote:
> On 3 April 2018 at 13:11, Fam Zheng <address@hidden> wrote:
>
> > On Tue, 04/03 12:59, Lindsay Mathieson wrote:
> > > Hi all, was looking at developing a block driver for qemu - have examined
> > > the drivers at:
> > >
> > > https://github.com/qemu/qemu/tree/master/block
> > >
> > > And it seems straightforward enough.
> > >
> > > One thing that is unclear - all the drivers appear to be compiled
> > directly
> > > into qemu. Is there no way to load them dynamically as .so modules?
> >
> > './configure --enable-modules' will enable building block drivers as .so
> > objects, and they are loaded dynamically. These are in-tree .so modules;
> > out-of-tree modules like in Linux kernel are intentionally forbidden.
> >
> > Fam
> >
>
>
>
> Rats, I take it that means I can't develop a testing block module and load
> it with an pre-existing qemu install.
No, that's not possible.
Fam