modules: add modinfo macros
commit22524c10c489ed7c20be2f5878157a64095e5734
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 24 Jun 2021 10:38:03 +0000 (24 12:38 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 9 Jul 2021 16:20:22 +0000 (9 18:20 +0200)
treef6b6e3e6d043cbf084c5f2dc9ceb35a90dc4daa0
parent7db492a1b65699ee6384874844cb87ff7200a811
modules: add modinfo macros

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.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jose R. Ziviani <jziviani@suse.de>
Message-Id: <20210624103836.2382472-2-kraxel@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/qemu/module.h