summary refs log tree commit diff stats
path: root/hw/core/qdev.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-01-21 12:03:45 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-24 20:59:11 +0100
commit89d337fdd207a378df55a5811347b31bca83e117 (patch)
treee71d64a2171a65efc4033446cdffe0d0bd9ca1ed /hw/core/qdev.c
parentd70c996df23f01ee02a661cf085515fc7dac2c5d (diff)
downloadfocaccia-qemu-89d337fdd207a378df55a5811347b31bca83e117.tar.gz
focaccia-qemu-89d337fdd207a378df55a5811347b31bca83e117.zip
qom/object: Display more helpful message when a parent is missing
QEMU object model is scarse in documentation. Some calls are
recursive, and it might be hard to figure out even trivial issues.

We can avoid developers to waste time in a debugging session by
displaying a simple error message.

This commit is also similar to e02bdf1cecd2 ("Display more helpful
message when an object type is missing").

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20200121110349.25842-7-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core/qdev.c')
0 files changed, 0 insertions, 0 deletions