qemu-ppc
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]