On 18/08/2026 12:11, Marc-André Lureau wrote:

The getter and setter use visit_type_int64, not visit_type_int.

Fixes: 432d889e55e2 ("block: convert ThrottleGroup to object with QOM")
Signed-off-by: Marc-AndrĂ© Lureau <[email protected]>
---
  block/throttle-groups.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block/throttle-groups.c b/block/throttle-groups.c
index a9d3aea3b54e..6312157802da 100644
--- a/block/throttle-groups.c
+++ b/block/throttle-groups.c
@@ -985,7 +985,7 @@ static void throttle_group_obj_class_init(ObjectClass 
*klass,
      for (i = 0; i < sizeof(properties) / sizeof(ThrottleParamInfo); i++) {
          object_class_property_add(klass,
                                    properties[i].name,
-                                  "int",
+                                  "int64",
                                    throttle_group_get,
                                    throttle_group_set,
                                    NULL, &properties[i]);

Reviewed-by: Mark Cave-Ayland <[email protected]>


ATB,

Mark.


Reply via email to