diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-06-24 12:38:09 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-07-09 18:20:27 +0200 |
commit | 882273d953f4ed6ae9465e15810c4fcb2fe3aaab (patch) | |
tree | 971c85234e38773044fd94a3e8693874a2a43fae /chardev/spice.c | |
parent | 561d0f456824e7dd38f25acf14014975e740e130 (diff) | |
download | qemu-882273d953f4ed6ae9465e15810c4fcb2fe3aaab.zip qemu-882273d953f4ed6ae9465e15810c4fcb2fe3aaab.tar.gz qemu-882273d953f4ed6ae9465e15810c4fcb2fe3aaab.tar.bz2 |
modules: add chardev module annotations
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jose R. Ziviani <jziviani@suse.de>
Message-Id: <20210624103836.2382472-8-kraxel@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'chardev/spice.c')
-rw-r--r-- | chardev/spice.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chardev/spice.c b/chardev/spice.c index 1104426..3ffb3fd 100644 --- a/chardev/spice.c +++ b/chardev/spice.c @@ -366,6 +366,7 @@ static const TypeInfo char_spice_type_info = { .class_init = char_spice_class_init, .abstract = true, }; +module_obj(TYPE_CHARDEV_SPICE); static void char_spicevmc_class_init(ObjectClass *oc, void *data) { @@ -396,6 +397,7 @@ static const TypeInfo char_spiceport_type_info = { .parent = TYPE_CHARDEV_SPICE, .class_init = char_spiceport_class_init, }; +module_obj(TYPE_CHARDEV_SPICEPORT); static void register_types(void) { @@ -405,3 +407,5 @@ static void register_types(void) } type_init(register_types); + +module_dep("ui-spice-core"); |