[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 01/34] modules: add modinfo macros
From: |
Eduardo Habkost |
Subject: |
Re: [PATCH v4 01/34] modules: add modinfo macros |
Date: |
Thu, 24 Jun 2021 16:37:28 -0400 |
On Thu, Jun 24, 2021 at 12:38:03PM +0200, Gerd Hoffmann wrote:
> Add macros for module info annotations.
>
> Instead of having that module meta-data stored in lists in util/module.c
> place directly in the module source code.
>
[...]
> +/* module implements QOM type <name> */
> +#define module_obj(name) modinfo(obj, name)
Can we make OBJECT_DEFINE_TYPE*() use this macro automatically?
--
Eduardo
- [PATCH v4 00/34] modules: add meta-data database, Gerd Hoffmann, 2021/06/24
- [PATCH v4 01/34] modules: add modinfo macros, Gerd Hoffmann, 2021/06/24
- Re: [PATCH v4 01/34] modules: add modinfo macros,
Eduardo Habkost <=
- [PATCH v4 03/34] modules: generate modinfo.c, Gerd Hoffmann, 2021/06/24
- [PATCH v4 04/34] modules: check if all dependencies can be satisfied, Gerd Hoffmann, 2021/06/24
- [PATCH v4 02/34] modules: collect module meta-data, Gerd Hoffmann, 2021/06/24
- [PATCH v4 05/34] modules: add qxl module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 06/34] modules: add virtio-gpu module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 09/34] modules: add usb-redir module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 07/34] modules: add chardev module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 08/34] modules: add audio module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 10/34] modules: add ccid module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 11/34] modules: add ui module annotations, Gerd Hoffmann, 2021/06/24