From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5qFM-0006ul-0F for qemu-devel@nongnu.org; Wed, 22 Jan 2014 00:21:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5qFB-0007UR-Vu for qemu-devel@nongnu.org; Wed, 22 Jan 2014 00:21:03 -0500 Received: from e23smtp04.au.ibm.com ([202.81.31.146]:51038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5qFB-0007PU-8w for qemu-devel@nongnu.org; Wed, 22 Jan 2014 00:20:53 -0500 Received: from /spool/local by e23smtp04.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 22 Jan 2014 15:20:48 +1000 From: Alexey Kardashevskiy Date: Wed, 22 Jan 2014 16:20:37 +1100 Message-Id: <1390368041-2184-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH 0/4 v2] elf loader: exit if incompatible architecture is detected List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexey Kardashevskiy , Peter Maydell , qemu-ppc@nongnu.org, Alexander Graf The first 2 patches are real fixes, the last two are for discussion not sure we really need them). Thanks. Alexey Kardashevskiy (4): spapr: support only ELF kernel images moxie: fix load_elf() usage elf-loader: add more return codes spapr: add more details error description of why load_elf() failed hw/core/loader.c | 12 ++++++------ hw/moxie/moxiesim.c | 2 +- hw/ppc/spapr.c | 22 ++++++++++++++-------- hw/s390x/ipl.c | 4 ++-- include/hw/elf_ops.h | 19 ++++++++++++++----- include/hw/loader.h | 5 +++++ 6 files changed, 42 insertions(+), 22 deletions(-) -- 1.8.4.rc4