[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] Introduce module API to QEMU
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [RFC] Introduce module API to QEMU |
Date: |
Fri, 3 Apr 2009 13:09:32 +0000 |
User-agent: |
KMail/1.9.9 |
On Friday 03 April 2009, Anthony Liguori wrote:
> Paul Brook wrote:
> >> This patch introduces a module API similar to what's in the Linux
> >> kernel. This includes module_init/module_exit functions that register
> >> functions that are run at init and exit respectively.
> >
> > Wouldn't it be much simpler to just have a list of device names, and
> > assume the each device is implemented in $devicename., and provides
> > $devicename_register ?
> >
> > It's then an extremely simple shell script to collate and call these.
>
> It doesn't generalize very well. For instance, the VNC server is not a
> device but it needs to be able to register as a DisplayState backend.
Hmm, this raises annother issue - we've got to be extremely careful about
ordering. It's not inconcievable that the PCI support code would have
constructors (e.g. to register a PCI bus type).
Paul
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, (continued)
Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Mark McLoughlin, 2009/04/03
Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Avi Kivity, 2009/04/03
Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Paul Brook, 2009/04/03
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Anthony Liguori, 2009/04/03
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU,
Paul Brook <=
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Anthony Liguori, 2009/04/03
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Anthony Liguori, 2009/04/03
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Paul Brook, 2009/04/03
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Avi Kivity, 2009/04/03
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Anthony Liguori, 2009/04/03
Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Blue Swirl, 2009/04/03
Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Daniel Jacobowitz, 2009/04/03