Commit 05674f0b56 for qemu.org
commit 05674f0b566b39f63aaa7a3254345547473f8244
Author: Markus Armbruster <armbru@redhat.com>
Date: Thu Nov 5 09:03:06 2026 +0100
target/riscv: Fix up PropertyInfo to set @qapi_type
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>
Message-ID: <20261105080310.1656968-2-armbru@redhat.com>
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,