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: Paolo Bonzini
Subject: Re: [PATCH v4 01/34] modules: add modinfo macros
Date: Tue, 6 Jul 2021 19:07:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 24/06/21 22:37, Eduardo Habkost wrote:
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?


Yeah, that's possible. I would do it as a separate patch though, because Gerd is on vacation and he asked me to include it in a pull request before soft freeze.

Thanks,

Paolo




reply via email to

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