[PATCH v3 46/74] i386/cpu: convert strList property to QAPI-aware registration
Marc-André Lureau <[email protected]>
| Newsgroups | org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[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 472c33736f36..24bb4512ae8e 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -10971,7 +10971,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.55.0.543.g5ebe2ebe4ea8