bios: Fix multiple calls into smbios_load_ex
commite1e8f35a4f59d82ab9a5361c3990c8dadd2e7678
authorAnthony Liguori <aliguori@us.ibm.com>
Fri, 10 Jul 2009 19:52:56 +0000 (10 14:52 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 16 Jul 2009 13:28:13 +0000 (16 08:28 -0500)
treeb6fe3d766a138a1a18067f747b437dbe1d30b014
parent84273177f25886b3476138470280890001debcbc
bios: Fix multiple calls into smbios_load_ex

We're marking the used entry bitmap in smbios_load_external() for each
type we check, regardless of whether we loaded anything.  This makes
subsequent calls behave as if we've already loaded the tables from qemu
and can result in missing tables (ex. multiple type4 entries on an SMP
guest).  Only mark the bitmap if we actually load something.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
pc-bios/bios-pq/0019-bios-fix-multiple-calls.patch [new file with mode: 0644]
pc-bios/bios-pq/series
pc-bios/bios.bin