aboutsummaryrefslogtreecommitdiff
path: root/hw/intc
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2024-03-14 16:22:49 +0100
committerMichael S. Tsirkin <mst@redhat.com>2024-03-18 08:42:45 -0400
commit9cd7fd69cfad9180e22b9adb728fc7b596b4bc1e (patch)
tree114f5154209f52b80739ef73961f9d6ecf703665 /hw/intc
parentcba59fe38a2bc2b1888892539d0c4688e07aa356 (diff)
downloadqemu-9cd7fd69cfad9180e22b9adb728fc7b596b4bc1e.zip
qemu-9cd7fd69cfad9180e22b9adb728fc7b596b4bc1e.tar.gz
qemu-9cd7fd69cfad9180e22b9adb728fc7b596b4bc1e.tar.bz2
smbios: don't check type4 structures in legacy mode
legacy mode doesn't support structures of type 2 and more, and CLI has a check for '-smbios type' option, however it's still possible to sneak in type4 as a blob with '-smbios file' option. However doing the later makes SMBIOS tables broken since SeaBIOS doesn't expect that. Rather than trying to add support for type4 to legacy code (both QEMU and SeaBIOS), simplify smbios_get_table_legacy() by dropping not relevant check in legacy code and error out on type4 blob. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Ani Sinha <anisinha@redhat.com> Tested-by: Fiona Ebner <f.ebner@proxmox.com> Message-Id: <20240314152302.2324164-9-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions