From: Marc-André Lureau <[email protected]> Pass appropriate QAPITypeInfo to object_class_property_add().
Signed-off-by: Marc-André Lureau <[email protected]> Signed-off-by: Markus Armbruster <[email protected]> Message-ID: <[email protected]> --- hw/s390x/s390-virtio-ccw.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c index 393e4d261d..3b197e7dc6 100644 --- a/hw/s390x/s390-virtio-ccw.c +++ b/hw/s390x/s390-virtio-ccw.c @@ -44,6 +44,7 @@ #include "target/s390x/kvm/pv.h" #include "migration/blocker.h" #include "qapi/qapi-builtin-type-infos.h" +#include "qapi/qapi-type-infos-machine-s390x.h" #include "qapi/visitor.h" #include "qapi/qapi-visit-machine-s390x.h" #include "hw/s390x/cpu-topology.h" @@ -917,7 +918,8 @@ static void ccw_machine_class_init(ObjectClass *oc, const void *data) " to upper case) to pass to machine loader, boot manager," " and guest kernel"); - object_class_property_add(oc, "boot-certs", "BootCertificatesList", NULL, + object_class_property_add(oc, "boot-certs", "BootCertificatesList", + &BootCertificatesList_type_info, machine_get_boot_certs, machine_set_boot_certs, NULL, NULL); object_class_property_set_description(oc, "boot-certs", "provide paths to a directory and/or a certificate file for secure boot"); -- 2.55.0
