qemu-e2k/hw/smbios
Markus Armbruster 1028283c60 smbios: Clean up error handling in smbios_add()
Calling error_report() in a function that takes an Error ** argument
is suspicious.  smbios_entry_add() does that, and then exit()s.  It
also passes &error_fatal to qemu_opts_validate().  Both wrong, but
currently harmless, as its only caller passes &error_fatal.  Messed up
in commit 1007a37e20.  Clean it up.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20181017082702.5581-12-armbru@redhat.com>
2018-10-19 14:51:34 +02:00
..
Makefile.objs stubs: move smbios stubs to hw/smbios 2017-01-16 17:52:35 +01:00
smbios-stub.c Include qmp-commands.h exactly where needed 2018-02-09 13:52:10 +01:00
smbios.c smbios: Clean up error handling in smbios_add() 2018-10-19 14:51:34 +02:00
smbios_build.h smbios: support setting OEM strings table 2017-12-05 19:13:45 +02:00
smbios_type_38-stub.c hw: use "qemu/osdep.h" as first #include in source files 2017-12-18 17:07:02 +03:00
smbios_type_38.c ipmi: Add SMBIOS table entry 2016-06-24 05:13:57 +03:00