diff mbox series

[v2,1/5] target/riscv: Fix up PropertyInfo to set @qapi_type

Message ID 20261105080310.1656968-2-armbru@redhat.com
State New
Headers show
Series qom/qdev: associate properties with QAPI types fixups | expand

Commit Message

Markus Armbruster Nov. 5, 2026, 8:03 a.m. UTC
When we recently updated PropertyInfo to set @qapi_type, we missed
one.  Update it now.

Fixes: 07458a910f7b ("target/riscv: convert PropertyInfo definitions to use qapi_type")
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 target/riscv/cpu.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
index 362e561809..15c27f4ce4 100644
--- a/target/riscv/cpu.c
+++ b/target/riscv/cpu.c
@@ -2075,6 +2075,7 @@  static void prop_vlen_get(Object *obj, Visitor *v, const char *name,
 
 static const PropertyInfo prop_vlen = {
     .type = "uint16",
+    .qapi_type = &uint16_type_info,
     .description = "vlen",
     .get = prop_vlen_get,
     .set = prop_vlen_set,