diff options
| author | Gabriel L. Somlo <gsomlo@gmail.com> | 2014-05-19 10:09:53 -0400 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2014-05-21 15:47:50 +0300 |
| commit | fb5be2e833669dd95be1950ea7b1da4cf7f9556c (patch) | |
| tree | 745fc03bfd03813ace06c8e96db115291d86dec3 /ui/input-keymap.c | |
| parent | 13cc2c3e867605122351c68f34af838bc75d8692 (diff) | |
| download | focaccia-qemu-fb5be2e833669dd95be1950ea7b1da4cf7f9556c.tar.gz focaccia-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 'ui/input-keymap.c')
0 files changed, 0 insertions, 0 deletions