Files
qemu/include
Igor Mammedov 643e1c9ef9 smbios: handle errors consistently
Current code uses mix of error_report()+exit(1)
and error_setg() to handle errors.
Use newer error_setg() everywhere, beside consistency
it will allow to detect error condition without killing
QEMU and attempt switch-over to SMBIOS3.x tables/entrypoint
in follow up patch.

while at it, clear smbios_tables pointer after freeing.
that will avoid double free if smbios_get_tables() is called
multiple times.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Message-Id: <20240314152302.2324164-13-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2024-03-18 08:42:45 -04:00
..
2024-01-12 13:23:48 +00:00
2024-03-06 12:35:51 +00:00
2024-03-13 11:43:52 +00:00
2024-03-18 08:42:45 -04:00
2023-09-07 14:01:29 -04:00
2024-02-13 07:42:45 -10:00
2024-01-30 21:20:20 +03:00
2023-08-31 19:47:43 +02:00