qom: Fix crash with qom-list and link properties
commit92b3eeadd9bc72f1f4e5ba1f62a289dc0190e88f
authorCole Robinson <crobinso@redhat.com>
Thu, 10 Apr 2014 18:47:38 +0000 (10 14:47 -0400)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 11 Apr 2014 16:57:36 +0000 (11 17:57 +0100)
tree2f431244a5e41f8466c11806855abbd2f84ef40c
parentedc243851279e3393000b28b6b69454cae1190ef
qom: Fix crash with qom-list and link properties

Commit 9561fda8d90e176bef598ba87c42a1bd6ad03ef7 changed the type of
'opaque' for link properties, but missed updating this call site.
Reproducer:

./x86_64-softmmu/qemu-system-x86_64 -qmp unix:./qmp.sock,server &
./scripts/qmp/qmp-shell ./qmp.sock
(QEMU) qom-list path=//machine/i440fx/pci.0/child[2]

Reported-by: Marcin Gibuła <m.gibula@beyond.pl>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Message-id: 2f8f007ce2152ac3b65f0811199662799c509225.1397155389.git.crobinso@redhat.com
Acked-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
qom/object.c