]> git.proxmox.com Git - mirror_qemu.git/commit
qdev: Make PropertyInfo.create return ObjectProperty*
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 11 Dec 2020 22:05:21 +0000 (17:05 -0500)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 18 Dec 2020 20:20:17 +0000 (15:20 -0500)
commitf59c6d223def66df90c0b91415eb96d7ed5e058b
tree860a4f87463935ac9ee5a2532377de21a2ad13fa
parentea7c1e5c3ed0f138f67a7c26a4219827845eb545
qdev: Make PropertyInfo.create return ObjectProperty*

Returning ObjectProperty* will be useful for new property
registration code that will add additional callbacks
to ObjectProperty after registering it.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201211220529.2290218-25-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/core/qdev-properties.c
include/hw/qdev-properties.h