Skip to content

Commit

Permalink
accel: add qtest module annotations
Browse files Browse the repository at this point in the history
Add module annotations for qtest so autoloading works.

Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Jose R. Ziviani <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
kraxel authored and bonzini committed Jul 9, 2021
1 parent f934907 commit a05ca2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions accel/qtest/qtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ static const TypeInfo qtest_accel_type = {
.parent = TYPE_ACCEL,
.class_init = qtest_accel_class_init,
};
module_obj(TYPE_QTEST_ACCEL);

static void qtest_accel_ops_class_init(ObjectClass *oc, void *data)
{
Expand All @@ -61,6 +62,7 @@ static const TypeInfo qtest_accel_ops_type = {
.class_init = qtest_accel_ops_class_init,
.abstract = true,
};
module_obj(ACCEL_OPS_NAME("qtest"));

static void qtest_type_init(void)
{
Expand Down

0 comments on commit a05ca2d

Please sign in to comment.