]> git.proxmox.com Git - mirror_qemu.git/commit
qom: introduce object_property_help()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 10 Jan 2020 15:30:37 +0000 (19:30 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jan 2020 19:59:16 +0000 (20:59 +0100)
commit4df8161673dbaa1938652313c075c898a476ffe5
tree807051011ffbb656e5fccd8f4abf454c88a6de47
parentc1f472ea6584954d98baec3342d13fd24dbc3b88
qom: introduce object_property_help()

Let's factor out the code to format a help string for a property. We
are going to reuse it in qdev next, which will bring some consistency.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20200110153039.1379601-25-marcandre.lureau@redhat.com>
[Adjust for removal of object_property_get_default, move default
 after description. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/qom/object.h
qom/object_interfaces.c