Commit 74dad4891a for qemu.org
commit 74dad4891a3aa264d2f0e0d86c71e397e76947fc
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: Mon Aug 17 15:23:01 2026 +0400
accel/tcg: fix "tb-size" property typename
The getter and setter use visit_type_uint32, not visit_type_int.
Fixes: fe174132478b ("tcg: add "-accel tcg,tb-size" and deprecate "-tb-size"")
Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
diff --git a/accel/tcg/tcg-all.c b/accel/tcg/tcg-all.c
index 7186c10cf0..767e880555 100644
--- a/accel/tcg/tcg-all.c
+++ b/accel/tcg/tcg-all.c
@@ -270,7 +270,7 @@ static void tcg_accel_class_init(ObjectClass *oc, const void *data)
tcg_get_thread,
tcg_set_thread);
- object_class_property_add(oc, "tb-size", "int",
+ object_class_property_add(oc, "tb-size", "uint32",
tcg_get_tb_size, tcg_set_tb_size,
NULL, NULL);
object_class_property_set_description(oc, "tb-size",