[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 05/34] modules: add qxl module annotations
From: |
Gerd Hoffmann |
Subject: |
[PATCH v4 05/34] modules: add qxl module annotations |
Date: |
Thu, 24 Jun 2021 12:38:07 +0200 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
hw/display/qxl.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hw/display/qxl.c b/hw/display/qxl.c
index 6e1f8ff1b2a7..84f99088e0a0 100644
--- a/hw/display/qxl.c
+++ b/hw/display/qxl.c
@@ -2522,6 +2522,7 @@ static const TypeInfo qxl_primary_info = {
.parent = TYPE_PCI_QXL,
.class_init = qxl_primary_class_init,
};
+module_obj("qxl-vga");
static void qxl_secondary_class_init(ObjectClass *klass, void *data)
{
@@ -2538,6 +2539,7 @@ static const TypeInfo qxl_secondary_info = {
.parent = TYPE_PCI_QXL,
.class_init = qxl_secondary_class_init,
};
+module_obj("qxl");
static void qxl_register_types(void)
{
@@ -2547,3 +2549,5 @@ static void qxl_register_types(void)
}
type_init(qxl_register_types)
+
+module_dep("ui-spice-core");
--
2.31.1
- [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
- [PATCH v4 04/34] modules: check if all dependencies can be satisfied, Gerd Hoffmann, 2021/06/24
- [PATCH v4 03/34] modules: generate modinfo.c, 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 <=
- [PATCH v4 07/34] modules: add chardev module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 09/34] modules: add usb-redir module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 06/34] modules: add virtio-gpu 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
- [PATCH v4 12/34] modules: add s390x module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 13/34] modules: add block module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 14/34] modules: use modinfo for dependencies, Gerd Hoffmann, 2021/06/24
- [PATCH v4 15/34] modules: use modinfo for qom load, Gerd Hoffmann, 2021/06/24