mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 11:39:53 +00:00
accel: add tcg module annotations
Add module annotations for tcg so autoloading works. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jose R. Ziviani <jziviani@suse.de> Message-Id: <20210624103836.2382472-29-kraxel@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
c94a7b8892
commit
9e5d3b692e
@ -124,6 +124,7 @@ static const TypeInfo tcg_accel_ops_type = {
|
||||
.class_init = tcg_accel_ops_class_init,
|
||||
.abstract = true,
|
||||
};
|
||||
module_obj(ACCEL_OPS_NAME("tcg"));
|
||||
|
||||
static void tcg_accel_ops_register_types(void)
|
||||
{
|
||||
|
@ -238,6 +238,7 @@ static const TypeInfo tcg_accel_type = {
|
||||
.class_init = tcg_accel_class_init,
|
||||
.instance_size = sizeof(TCGState),
|
||||
};
|
||||
module_obj(TYPE_TCG_ACCEL);
|
||||
|
||||
static void register_accel_types(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user