diff options
| author | Igor Mammedov <imammedo@redhat.com> | 2024-03-14 16:22:54 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2024-03-18 08:42:45 -0400 |
| commit | 69ea07a56ef54050a61b91fe8236fef4908fe5d1 (patch) | |
| tree | c769e08f58672a55db524923cf24b4f8dca6f946 /include/hw/firmware/smbios.h | |
| parent | 643e1c9ef9d90a6e80b82998d41c91302fef506b (diff) | |
| download | focaccia-qemu-69ea07a56ef54050a61b91fe8236fef4908fe5d1.tar.gz focaccia-qemu-69ea07a56ef54050a61b91fe8236fef4908fe5d1.zip | |
smbios: get rid of global smbios_ep_type
Signed-off-by: Igor Mammedov <imammedo@redhat.com> Acked-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Ani Sinha <anisinha@redhat.com> Tested-by: Fiona Ebner <f.ebner@proxmox.com> Message-Id: <20240314152302.2324164-14-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/firmware/smbios.h')
| -rw-r--r-- | include/hw/firmware/smbios.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/hw/firmware/smbios.h b/include/hw/firmware/smbios.h index d4b91d5a14..8d3fb2fb3b 100644 --- a/include/hw/firmware/smbios.h +++ b/include/hw/firmware/smbios.h @@ -326,16 +326,17 @@ struct smbios_type_127 { struct smbios_structure_header header; } QEMU_PACKED; -bool smbios_validate_table(Error **errp); +bool smbios_validate_table(SmbiosEntryPointType ep_type, Error **errp); void smbios_add_usr_blob_size(size_t size); void smbios_entry_add(QemuOpts *opts, Error **errp); void smbios_set_cpuid(uint32_t version, uint32_t features); void smbios_set_defaults(const char *manufacturer, const char *product, const char *version, - bool uuid_encoded, SmbiosEntryPointType ep_type); + bool uuid_encoded); void smbios_set_default_processor_family(uint16_t processor_family); uint8_t *smbios_get_table_legacy(size_t *length, Error **errp); void smbios_get_tables(MachineState *ms, + SmbiosEntryPointType ep_type, const struct smbios_phys_mem_area *mem_array, const unsigned int mem_array_size, uint8_t **tables, size_t *tables_len, |