]> Git Repo - qemu.git/commit
SMBIOS: Fix endian-ness when populating multi-byte fields
authorGabriel L. Somlo <[email protected]>
Mon, 19 May 2014 14:09:53 +0000 (10:09 -0400)
committerMichael S. Tsirkin <[email protected]>
Wed, 21 May 2014 12:47:50 +0000 (15:47 +0300)
commitfb5be2e833669dd95be1950ea7b1da4cf7f9556c
tree745fc03bfd03813ace06c8e96db115291d86dec3
parent13cc2c3e867605122351c68f34af838bc75d8692
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 <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/i386/smbios.c
This page took 0.024339 seconds and 4 git commands to generate.