qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/4] elf loader: exit if incompatible architecture is detected
@ 2014-02-04  4:04 Alexey Kardashevskiy
  2014-02-04  4:04 ` [Qemu-devel] [PATCH v3 1/4] spapr: support only ELF kernel images Alexey Kardashevskiy
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Alexey Kardashevskiy @ 2014-02-04  4:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alexey Kardashevskiy, qemu-ppc, Alexander Graf

The aim of this set is to print reasonable error if ELF cannot be loaded.
While we are here, also fix some other bits.

Changes:
v3:
* added a helper to convert error codes to strings

Alexey Kardashevskiy (4):
  spapr: support only ELF kernel images
  moxie: fix load_elf() usage
  elf-loader: add more return codes
  spapr: print more detailed error message on failed load_elf()

 hw/core/loader.c     | 30 ++++++++++++++++++++++++------
 hw/moxie/moxiesim.c  |  2 +-
 hw/ppc/spapr.c       | 11 +++--------
 hw/s390x/ipl.c       |  4 ++--
 include/hw/elf_ops.h | 19 ++++++++++++++-----
 include/hw/loader.h  |  6 ++++++
 6 files changed, 50 insertions(+), 22 deletions(-)

-- 
1.8.4.rc4

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

end of thread, other threads:[~2014-02-06 14:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-04  4:04 [Qemu-devel] [PATCH v3 0/4] elf loader: exit if incompatible architecture is detected Alexey Kardashevskiy
2014-02-04  4:04 ` [Qemu-devel] [PATCH v3 1/4] spapr: support only ELF kernel images Alexey Kardashevskiy
2014-02-04  4:04 ` [Qemu-devel] [PATCH v3 2/4] moxie: fix load_elf() usage Alexey Kardashevskiy
2014-02-04  4:04 ` [Qemu-devel] [PATCH v3 3/4] elf-loader: add more return codes Alexey Kardashevskiy
2014-02-04  4:04 ` [Qemu-devel] [PATCH v3 4/4] spapr: print more detailed error message on failed load_elf() Alexey Kardashevskiy
2014-02-06 14:45 ` [Qemu-devel] [PATCH v3 0/4] elf loader: exit if incompatible architecture is detected Alexander Graf

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