summaryrefslogtreecommitdiffstats
path: root/include/hw/i386/smbios.h
diff options
context:
space:
mode:
authorGabriel L. Somlo2014-05-19 16:09:53 +0200
committerMichael S. Tsirkin2014-05-21 14:47:50 +0200
commitfb5be2e833669dd95be1950ea7b1da4cf7f9556c (patch)
tree745fc03bfd03813ace06c8e96db115291d86dec3 /include/hw/i386/smbios.h
parentserial-pci: Set prog interface field of pci config to 16550 compatible (diff)
downloadqemu-fb5be2e833669dd95be1950ea7b1da4cf7f9556c.tar.gz
qemu-fb5be2e833669dd95be1950ea7b1da4cf7f9556c.tar.xz
qemu-fb5be2e833669dd95be1950ea7b1da4cf7f9556c.zip
SMBIOS: Fix endian-ness when populating multi-byte fields
When i386 guests are emulated on big endian hosts, make sure multi-byte fields are populated safely via cpu_to_le*(). Signed-off-by: Gabriel Somlo <somlo@cmu.edu> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/i386/smbios.h')
0 files changed, 0 insertions, 0 deletions