mirror of
https://gitlab.com/qemu-project/qemu.git
synced 2026-10-28 11:54:41 +08:00
event-loop-base: fix property typenames
The getter and setter use visit_type_int64, not visit_type_int.
Fixes: 7d5983e3c8 ("Introduce event-loop-base abstract class")
Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
1 parent
d40eed21e5
commit
717ef02f1f
1 file changed
+3
-3
+3
-3
@@ -104,15 +104,15 @@ static void event_loop_base_class_init(ObjectClass *klass,
|
||||
ucc->complete = event_loop_base_complete;
|
||||
ucc->prepare_delete = event_loop_base_prepare_delete;
|
||||
|
||||
object_class_property_add(klass, "aio-max-batch", "int",
|
||||
object_class_property_add(klass, "aio-max-batch", "int64",
|
||||
event_loop_base_get_param,
|
||||
event_loop_base_set_param,
|
||||
NULL, &aio_max_batch_info);
|
||||
object_class_property_add(klass, "thread-pool-min", "int",
|
||||
object_class_property_add(klass, "thread-pool-min", "int64",
|
||||
event_loop_base_get_param,
|
||||
event_loop_base_set_param,
|
||||
NULL, &thread_pool_min_info);
|
||||
object_class_property_add(klass, "thread-pool-max", "int",
|
||||
object_class_property_add(klass, "thread-pool-max", "int64",
|
||||
event_loop_base_get_param,
|
||||
event_loop_base_set_param,
|
||||
NULL, &thread_pool_max_info);
|
||||
|
||||
Reference in new issue
Block a user