[Qemu-devel] [PATCH for 2.10 0/2] Move endianness error reporting to the MIPS boards

Aurelien Jarno posted 2 patches 6 years, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170726235614.14687-1-aurelien@aurel32.net
Test FreeBSD passed
Test checkpatch passed
Test s390x passed
hw/core/loader.c        |  1 -
hw/mips/mips_fulong2e.c | 15 +++++++++------
hw/mips/mips_malta.c    | 14 ++++++++------
hw/mips/mips_mipssim.c  |  5 +++--
hw/mips/mips_r4k.c      |  6 ++++--
5 files changed, 24 insertions(+), 17 deletions(-)
[Qemu-devel] [PATCH for 2.10 0/2] Move endianness error reporting to the MIPS boards
Posted by Aurelien Jarno 6 years, 8 months ago
This patchset improves the MIPS board error reporting when loading a 
kernel with the wrong endianness, using load_elf_strerror.

That way the check added to loader.c can be removed, as it harms the
pseries platform. Indeed it can change its endianness dynamically at
runtime and thus can load both little and big endian kernels.

Alexey Kardashevskiy (1):
  Revert "elf-loader: warn about invalid endianness"

Aurelien Jarno (1):
  hw/mips: load_elf_strerror to report kernel loading failure

 hw/core/loader.c        |  1 -
 hw/mips/mips_fulong2e.c | 15 +++++++++------
 hw/mips/mips_malta.c    | 14 ++++++++------
 hw/mips/mips_mipssim.c  |  5 +++--
 hw/mips/mips_r4k.c      |  6 ++++--
 5 files changed, 24 insertions(+), 17 deletions(-)

-- 
2.11.0