This patchset tries to address the issue raised in https://bugzilla.redhat.com/show_bug.cgi?id=2023977 .
Patch 2 and patch 3 are dependent on patch 1. Patch 1 makes some code cleanup to make thing more readable and also is a preparatory patch for patches 2 and 3. Patch 2 is the actual fix. Patch 3 adds an additional assertion because of changes introduced in patch 2. Ani Sinha (3): hw/smbios: code cleanup - use macro definitions for table base addresses hw/smbios: fix table memory corruption with large memory vms hw/smbios: add an assertion to ensure tables 19 and 32 do not collide hw/smbios/smbios.c | 58 ++++++++++++++++++++++++++++++++++------------ 1 file changed, 43 insertions(+), 15 deletions(-) -- 2.25.1