[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 14/20] smbios: extend smbios-entry-point-type with 'auto' valu
From: |
Igor Mammedov |
Subject: |
[PATCH v3 14/20] smbios: extend smbios-entry-point-type with 'auto' value |
Date: |
Fri, 8 Mar 2024 13:21:39 +0100 |
later patches will use it to pick SMBIOS version at runtime
depending on configuration.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Tested-by: Fiona Ebner <f.ebner@proxmox.com>
---
v3:
- make sure i2nd line of comment is indented on 4 spaces only
---
qapi/machine.json | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/qapi/machine.json b/qapi/machine.json
index bb5a178909..0840c91e70 100644
--- a/qapi/machine.json
+++ b/qapi/machine.json
@@ -1797,10 +1797,13 @@
#
# @64: SMBIOS version 3.0 (64-bit) Entry Point
#
+# @auto: Either 2.x or 3.x SMBIOS version, 2.x if configuration can be
+# described by it and 3.x otherwise (since: 9.0)
+#
# Since: 7.0
##
{ 'enum': 'SmbiosEntryPointType',
- 'data': [ '32', '64' ] }
+ 'data': [ '32', '64', 'auto' ] }
##
# @MemorySizeConfiguration:
--
2.39.3
- Re: [PATCH v2 07/20] smbios: avoid mangling user provided tables, (continued)
[PATCH v2 09/20] smbios: add smbios_add_usr_blob_size() helper, Igor Mammedov, 2024/03/05
[PATCH v2 08/20] smbios: don't check type4 structures in legacy mode, Igor Mammedov, 2024/03/05
[PATCH v2 12/20] smbios: handle errors consistently, Igor Mammedov, 2024/03/05
[PATCH v2 14/20] smbios: extend smbios-entry-point-type with 'auto' value, Igor Mammedov, 2024/03/05
[PATCH v2 15/20] smbios: in case of entry point is 'auto' try to build v2 tables 1st, Igor Mammedov, 2024/03/05
[PATCH v2 10/20] smbios: rename/expose structures/bitmaps used by both legacy and modern code, Igor Mammedov, 2024/03/05
[PATCH v2 16/20] smbios: error out when building type 4 table is not possible, Igor Mammedov, 2024/03/05
[PATCH v2 17/20] smbios: clear smbios_type4_count before building tables, Igor Mammedov, 2024/03/05
[PATCH v2 18/20] tests: acpi/smbios: whitelist expected blobs, Igor Mammedov, 2024/03/05
[PATCH v2 19/20] pc/q35: set SMBIOS entry point type to 'auto' by default, Igor Mammedov, 2024/03/05