diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-05-05 17:29:25 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-05-15 07:08:14 +0200 |
commit | 7ef1553dac8ef8dbe547b58d7420461a16be0eeb (patch) | |
tree | de122c337a188aac8eb152c1095a47fcd97c6ced /hw/i386 | |
parent | b69c3c21a5d11075d42100d5cfe0a736593fae6b (diff) | |
download | qemu-7ef1553dac8ef8dbe547b58d7420461a16be0eeb.zip qemu-7ef1553dac8ef8dbe547b58d7420461a16be0eeb.tar.gz qemu-7ef1553dac8ef8dbe547b58d7420461a16be0eeb.tar.bz2 |
spapr_pci: Drop some dead error handling
chassis_from_bus() uses object_property_get_uint() to get property
"chassis_nr" of the bridge device. Failure would be a programming
error. Pass &error_abort, and simplify its callers.
Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: qemu-ppc@nongnu.org
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200505152926.18877-18-armbru@redhat.com>
Diffstat (limited to 'hw/i386')
0 files changed, 0 insertions, 0 deletions