QOM devices patch queue 2015-03-31
Hello Peter,
This is my QOM (devices) patch queue. Please pull.
Regards,
Andreas
The following changes since commit adbeb458eece2263039e5a1f6501b87ae3713319:
Merge remote-tracking branch 'remotes/bkoppelmann/tags/pull-tricore-20150330' into staging (2015-03-31 09:56:48 +0100)
are available in the git repository at:
git://github.com/afaerber/qemu-cpu.git tags/qom-devices-for-peter
for you to fetch changes up to a18bb417e954ceea0a30b46c38b0d58c3a7ca6a1:
qom: Fix object_property_add_alias() with [*] (2015-03-31 12:56:48 +0200)
----------------------------------------------------------------
QOM infrastructure fixes and device conversions
* Fix for adding alias properties with [*]
----------------------------------------------------------------
Andreas Färber (1):
qom: Fix object_property_add_alias() with [*]
qom/object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[Qemu-devel] [PULL 1/1] 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().
--- qom/object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
qom/object.c +1 -1
@@ -1761,7 +1761,7 @@ void object_property_add_alias(Object *obj, const char *name, } op->resolve = property_resolve_alias; -object_property_set_description (obj, name, +object_property_set_description (obj, op->name, target_prop->description, &error_abort);
Signature · 1 line
2.1.4
Peter Maydell
AppliedQuoted 17 lines · Andreas Färber
Hello Peter,
This is my QOM (devices) patch queue. Please pull.
Regards,
AndreasCc Peter Maydell <[email protected]>The following changes since commit
adbeb458eece2263039e5a1f6501b87ae3713319:Merge remote-tracking branch 'remotes/bkoppelmann/tags/pull-tricore-20150330' into staging (2015-03-31 09:56:48 +0100)
are available in the git repository at:
git://github.com/afaerber/qemu-cpu.gittags/qom-devices-for-peter
Quoted 8 lines
for you to fetch changes up to
a18bb417e954ceea0a30b46c38b0d58c3a7ca6a1:qom: Fix
object_property_add_alias()with [*] (2015-03-31 12:56:48 +0200)----------------------------------------------------------------
QOM infrastructure fixes and device conversions* Fix for adding alias properties with [*]
Applied, thanks.
-- PMM