qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for 2.10 0/2] Move endianness error reporting to the MIPS boards
@ 2017-07-26 23:56 Aurelien Jarno
  2017-07-26 23:56 ` [Qemu-devel] [PATCH for 2.10 1/2] hw/mips: load_elf_strerror to report kernel loading failure Aurelien Jarno
  2017-07-26 23:56 ` [Qemu-devel] [PATCH for 2.10 2/2] Revert "elf-loader: warn about invalid endianness" Aurelien Jarno
  0 siblings, 2 replies; 5+ messages in thread
From: Aurelien Jarno @ 2017-07-26 23:56 UTC (permalink / raw)
  To: qemu-devel
  Cc: Yongbok Kim, Philippe Mathieu-Daudé, Alexey Kardashevskiy,
	Aurelien Jarno

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-27  1:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-26 23:56 [Qemu-devel] [PATCH for 2.10 0/2] Move endianness error reporting to the MIPS boards Aurelien Jarno
2017-07-26 23:56 ` [Qemu-devel] [PATCH for 2.10 1/2] hw/mips: load_elf_strerror to report kernel loading failure Aurelien Jarno
2017-07-27  1:17   ` Philippe Mathieu-Daudé
2017-07-26 23:56 ` [Qemu-devel] [PATCH for 2.10 2/2] Revert "elf-loader: warn about invalid endianness" Aurelien Jarno
2017-07-27  1:18   ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).