[PATCH v3 34/74] block/throttle-groups: fix throttle properties typename
Marc-André Lureau <[email protected]>
| Newsgroups | org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
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]);
--
2.55.0.543.g5ebe2ebe4ea8