From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: qemu-devel@nongnu.org
Cc: Alexey Kardashevskiy <aik@ozlabs.ru>,
qemu-ppc@nongnu.org, Alexander Graf <agraf@suse.de>
Subject: [Qemu-devel] [PATCH v3 0/4] elf loader: exit if incompatible architecture is detected
Date: Tue, 4 Feb 2014 15:04:15 +1100 [thread overview]
Message-ID: <1391486659-6584-1-git-send-email-aik@ozlabs.ru> (raw)
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
next reply other threads:[~2014-02-04 4:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-04 4:04 Alexey Kardashevskiy [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1391486659-6584-1-git-send-email-aik@ozlabs.ru \
--to=aik@ozlabs.ru \
--cc=agraf@suse.de \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).