Signed-off-by: Markus Armbruster <[email protected]>
Signed-off-by: Marc-André Lureau <[email protected]>
---
target/i386/cpu.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 3601a56e6848..0a9acfa74600 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -11001,7 +11001,8 @@ static void x86_cpu_common_class_init(ObjectClass *oc,
const void *data)
* QMP command: they list the features that would have prevented the
* CPU from running if the "enforce" flag was set.
*/
- object_class_property_add(oc, "unavailable-features", "strList",
+ object_class_property_add_qapi(oc, "unavailable-features",
+ &strList_type_info,
x86_cpu_get_unavailable_features,
NULL, NULL, NULL);
--
2.56.0.116.g6de20f6092dc