Commit 7053f09c8b for qemu.org
commit 7053f09c8bad9616024e12d5b07146dd7d57124c
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: Mon Aug 17 15:29:17 2026 +0400
target/i386: fix CPUID version properties typename
The getter and setter use visit_type_uint64, not visit_type_int.
Fixes: 3e0dceaf9450 ("i386: Register most CPU properties as class properties")
Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index d01ff1948e..b97f144aea 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -10946,13 +10946,13 @@ static void x86_cpu_common_class_init(ObjectClass *oc, const void *data)
dc->user_creatable = true;
- object_class_property_add(oc, "family", "int",
+ object_class_property_add(oc, "family", "uint64",
x86_cpuid_version_get_family,
x86_cpuid_version_set_family, NULL, NULL);
- object_class_property_add(oc, "model", "int",
+ object_class_property_add(oc, "model", "uint64",
x86_cpuid_version_get_model,
x86_cpuid_version_set_model, NULL, NULL);
- object_class_property_add(oc, "stepping", "int",
+ object_class_property_add(oc, "stepping", "uint64",
x86_cpuid_version_get_stepping,
x86_cpuid_version_set_stepping, NULL, NULL);
object_class_property_add_str(oc, "vendor",