mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
modules: add virtio-gpu module annotations
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jose R. Ziviani <jziviani@suse.de> Message-Id: <20210624103836.2382472-7-kraxel@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
ec604e0a8a
commit
561d0f4568
10 changed files with 18 additions and 0 deletions
|
@ -154,6 +154,7 @@ static const TypeInfo virtio_gpu_gl_info = {
|
|||
.instance_size = sizeof(VirtIOGPUGL),
|
||||
.class_init = virtio_gpu_gl_class_init,
|
||||
};
|
||||
module_obj(TYPE_VIRTIO_GPU_GL);
|
||||
|
||||
static void virtio_register_types(void)
|
||||
{
|
||||
|
@ -161,3 +162,5 @@ static void virtio_register_types(void)
|
|||
}
|
||||
|
||||
type_init(virtio_register_types)
|
||||
|
||||
module_dep("hw-display-virtio-gpu");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue