unicorn/qemu/qom
Andreas Färber 15b820e72b
qom: Fix object_property_add_alias() with [*]
Commit 8074264 (qom: Add description field in ObjectProperty struct)
introduced property descriptions and copied them for alias properties.

Instead of using the caller-supplied property name, use the returned
property name for setting the description. This avoids an Error when
setting a property description for a property with literal "[*]" that
doesn't exist due to automatic property naming in object_property_add().

Backports commit a18bb417e954ceea0a30b46c38b0d58c3a7ca6a1 from qemu
2018-02-12 16:33:58 -05:00
..
container.c Automated leading tab to spaces conversion. 2017-01-21 12:28:22 +11:00
cpu.c cleanup after msvc port 2017-01-22 21:27:17 +08:00
Makefile.objs import 2015-08-21 15:04:50 +08:00
object.c qom: Fix object_property_add_alias() with [*] 2018-02-12 16:33:58 -05:00
qom-qobject.c handle some errors properly so avoid exit() during initialization. this fixes issue #237 2015-11-12 01:43:41 +08:00