qom: Improve error message displayed with missing object properties
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 20 Sep 2020 15:53:40 +0000 (17:53 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 6 Oct 2020 15:09:35 +0000 (11:09 -0400)
commit4d9c7c8471267d981843cf0a86bea2c28e2f0a4b
treebda4ebdc4d026865cf272d772130fc09e1e73c74
parent4a795202ec7deba1b2c251af85192cc8231f9370
qom: Improve error message displayed with missing object properties

Instead of only displaying the property missing, also display
the object name. This help developer to quickly figure out the
mistake without opening a debugger.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200920155340.401482-1-f4bug@amsat.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
qom/object.c