diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-06-24 12:38:28 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-07-09 18:21:33 +0200 |
commit | a05ca2d4163139c5f2e5488c36326f725a11a6d0 (patch) | |
tree | bc6e60939b359d5fd69f24ed19d5f1c00f5ce48b /accel | |
parent | f934907a8b72cf315e5f587794a60d451d489672 (diff) | |
download | qemu-a05ca2d4163139c5f2e5488c36326f725a11a6d0.zip qemu-a05ca2d4163139c5f2e5488c36326f725a11a6d0.tar.gz qemu-a05ca2d4163139c5f2e5488c36326f725a11a6d0.tar.bz2 |
accel: add qtest module annotations
Add module annotations for qtest so autoloading works.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jose R. Ziviani <jziviani@suse.de>
Message-Id: <20210624103836.2382472-27-kraxel@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'accel')
-rw-r--r-- | accel/qtest/qtest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accel/qtest/qtest.c b/accel/qtest/qtest.c index edb29f6..7e6b811 100644 --- a/accel/qtest/qtest.c +++ b/accel/qtest/qtest.c @@ -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) { @@ -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) { |