qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH qemu] Revert "elf-loader: warn about invalid endianness"
@ 2017-07-21  4:19 Alexey Kardashevskiy
  2017-07-21  4:55 ` no-reply
  2017-07-21  6:48 ` Philippe Mathieu-Daudé
  0 siblings, 2 replies; 9+ messages in thread
From: Alexey Kardashevskiy @ 2017-07-21  4:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Alexey Kardashevskiy, qemu-ppc, David Gibson,
	Philippe Mathieu-Daudé

This reverts c8e1158cf611 "elf-loader: warn about invalid endianness"
as it produces a useless message every time an LE kernel image is
passed via -kernel on a ppc64-pseries machine. The pseries machine
already checks for ELF_LOAD_WRONG_ENDIAN and tries with big_endian=0.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
 hw/core/loader.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/core/loader.c b/hw/core/loader.c
index c17ace0a2e..e5e8cbb638 100644
--- a/hw/core/loader.c
+++ b/hw/core/loader.c
@@ -480,7 +480,6 @@ int load_elf_ram(const char *filename,
     }
 
     if (target_data_order != e_ident[EI_DATA]) {
-        fprintf(stderr, "%s: wrong endianness\n", filename);
         ret = ELF_LOAD_WRONG_ENDIAN;
         goto fail;
     }
-- 
2.11.0

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

end of thread, other threads:[~2017-07-26 23:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-21  4:19 [Qemu-devel] [PATCH qemu] Revert "elf-loader: warn about invalid endianness" Alexey Kardashevskiy
2017-07-21  4:55 ` no-reply
2017-07-21  6:06   ` Philippe Mathieu-Daudé
2017-07-21  6:48 ` Philippe Mathieu-Daudé
2017-07-21  7:30   ` Alexey Kardashevskiy
2017-07-21  8:05     ` Philippe Mathieu-Daudé
2017-07-26  3:47       ` Alexey Kardashevskiy
2017-07-26 15:48         ` Philippe Mathieu-Daudé
2017-07-26 23:56     ` Aurelien Jarno

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).