diff options
author | Gabriel L. Somlo <somlo@cmu.edu> | 2015-05-18 08:47:24 -0400 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-06-10 08:06:47 +0200 |
commit | 5efed5a172881f601ac3c57c22ec5c5721f895be (patch) | |
tree | 3f90c21d2711d585f8eef38ad31a2b96570dc4cd /hw/pci-host/apb.c | |
parent | 81b2b81062612ebeac4cd5333a3b15c7d79a5a3d (diff) | |
download | qemu-5efed5a172881f601ac3c57c22ec5c5721f895be.zip |
bios-tables-test: handle false-positive smbios signature matches
It has been reported that sometimes the .rodata section of SeaBIOS,
containing the constant string against which the SMBIOS signature
ends up being compared, also falls within the guest f-segment. In
that case, the test obviously fails, unless we continue searching
for the *real* SMBIOS entry point.
Rather than stopping at the first match for the SMBIOS signature
("_SM_") in the f-segment (0xF0000-0xFFFFF), continue scanning
until either a valid entry point table is found, or the f-segment
has been exhausted.
Reported-by: Bruce Rogers <brogers@suse.com>
Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
Tested-by: Bruce Rogers <brogers@suse.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/pci-host/apb.c')
0 files changed, 0 insertions, 0 deletions