diff options
| author | Daniel P. Berrangé | 2019-02-15 16:36:00 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2019-02-22 16:51:31 +0100 |
| commit | b81a5f9427270133c27ab660c0054b277b2728d7 (patch) | |
| tree | 19c324086fce10cdd4590e5f12cfae3733ffbe8e /include/exec | |
| parent | pci: Move NVIDIA vendor id to the rest of ids (diff) | |
| download | qemu-b81a5f9427270133c27ab660c0054b277b2728d7.tar.gz qemu-b81a5f9427270133c27ab660c0054b277b2728d7.tar.xz qemu-b81a5f9427270133c27ab660c0054b277b2728d7.zip | |
hw/smbios: fix offset of type 3 sku field
The type 3 SMBIOS structure[1] ends with fields
...
0x14 - contained element count
0x15 - contained element record length
0x16 - sku number
The smbios_type_3 struct missed the contained element record
length field, causing sku number to be reported at the wrong
offset.
[1] https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.1.1.pdf
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20190215153600.1770727-1-berrange@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Fixes: e41fca3da72
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
