[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] GSoC mentor summit QEMU users session
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] GSoC mentor summit QEMU users session |
Date: |
Thu, 3 Nov 2011 07:38:23 +0000 |
On Wed, Nov 2, 2011 at 6:51 PM, Anthony Liguori <address@hidden> wrote:
> @@ -77,6 +78,20 @@ static DeviceInfo *qdev_find_info(BusInfo *bus_info,
> const ch
> continue;
> return info;
> }
> +
> + /* try to load an appropriately named module */
> + {
> + char *path = g_module_build_path(PREFIX, info->name);
> + GModule *mod = g_module_open(path, G_MODULE_BIND_LOCAL);
> + void (*init)(void);
> +
> + if (g_module_symbol(mod, "mod_init", &init)) {
> + init();
We need taint marker support from day 1. Or perhaps a nicer thing:
require each module to declare a support URL string. QEMU will print
out support URLs when displaying version information or on startup.
This way it's easy to indentify who to ask for help if QEMU appears
broken - we'll know if a third-party plugin is involved.
Stefan
- Re: [Qemu-devel] GSoC mentor summit QEMU users session, (continued)
- Re: [Qemu-devel] GSoC mentor summit QEMU users session, Markus Armbruster, 2011/11/03
- Re: [Qemu-devel] GSoC mentor summit QEMU users session, Andreas Färber, 2011/11/03
- Re: [Qemu-devel] GSoC mentor summit QEMU users session, Alexander Graf, 2011/11/04
- Re: [Qemu-devel] GSoC mentor summit QEMU users session, Anthony Liguori, 2011/11/02
- Re: [Qemu-devel] GSoC mentor summit QEMU users session, Jan Kiszka, 2011/11/02
- Re: [Qemu-devel] GSoC mentor summit QEMU users session, Anthony Liguori, 2011/11/02
- Re: [Qemu-devel] GSoC mentor summit QEMU users session,
Stefan Hajnoczi <=
- Re: [Qemu-devel] GSoC mentor summit QEMU users session, Markus Armbruster, 2011/11/03