modules: add ui module annotations

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jose R. Ziviani <jziviani@suse.de>
Message-Id: <20210624103836.2382472-12-kraxel@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Gerd Hoffmann 2021-06-24 12:38:13 +02:00 committed by Paolo Bonzini
parent be4bf77c9c
commit b36ae1c1a2
5 changed files with 20 additions and 0 deletions

View File

@ -213,3 +213,7 @@ static void register_egl(void)
}
type_init(register_egl);
#ifdef CONFIG_OPENGL
module_dep("ui-opengl");
#endif

View File

@ -2333,3 +2333,7 @@ static void register_gtk(void)
}
type_init(register_gtk);
#ifdef CONFIG_OPENGL
module_dep("ui-opengl");
#endif

View File

@ -918,3 +918,7 @@ static void register_sdl1(void)
}
type_init(register_sdl1);
#ifdef CONFIG_OPENGL
module_dep("ui-opengl");
#endif

View File

@ -221,3 +221,6 @@ static void register_spice_app(void)
}
type_init(register_spice_app);
module_dep("ui-spice-core");
module_dep("chardev-spice");

View File

@ -1037,3 +1037,8 @@ static void spice_register_config(void)
qemu_add_opts(&qemu_spice_opts);
}
opts_init(spice_register_config);
module_opts("spice");
#ifdef CONFIG_OPENGL
module_dep("ui-opengl");
#endif