Commit 00e5e5e88b for qemu.org
commit 00e5e5e88b774f9d353c79334a0b4413364e9628
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: Mon Aug 17 15:26:43 2026 +0400
iothread: fix poll properties typename
The getter and setter use visit_type_int64, not visit_type_int.
Fixes: 0d9d86fb4df4 ("iothread: add polling parameters")
Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
diff --git a/iothread.c b/iothread.c
index 3558535b40..76eea6df38 100644
--- a/iothread.c
+++ b/iothread.c
@@ -315,19 +315,19 @@ static void iothread_class_init(ObjectClass *klass, const void *class_data)
bc->init = iothread_init;
bc->update_params = iothread_set_aio_context_params;
- object_class_property_add(klass, "poll-max-ns", "int",
+ object_class_property_add(klass, "poll-max-ns", "int64",
iothread_get_poll_param,
iothread_set_poll_param,
NULL, &poll_max_ns_info);
- object_class_property_add(klass, "poll-grow", "int",
+ object_class_property_add(klass, "poll-grow", "int64",
iothread_get_poll_param,
iothread_set_poll_param,
NULL, &poll_grow_info);
- object_class_property_add(klass, "poll-shrink", "int",
+ object_class_property_add(klass, "poll-shrink", "int64",
iothread_get_poll_param,
iothread_set_poll_param,
NULL, &poll_shrink_info);
- object_class_property_add(klass, "poll-weight", "int",
+ object_class_property_add(klass, "poll-weight", "int64",
iothread_get_poll_param,
iothread_set_poll_param,
NULL, &poll_weight_info);