diff options
author | Gabriel L. Somlo | 2014-05-19 16:09:53 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2014-05-21 14:47:50 +0200 |
commit | fb5be2e833669dd95be1950ea7b1da4cf7f9556c (patch) | |
tree | 745fc03bfd03813ace06c8e96db115291d86dec3 /include/hw/i386/smbios.h | |
parent | serial-pci: Set prog interface field of pci config to 16550 compatible (diff) | |
download | qemu-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