Re: [Qemu-devel] [RFC PATCH] elf loader: exit if incompatible architecture is detected

2014-01-21 Thread Alexander Graf
> Am 21.01.2014 um 05:04 schrieb Alexey Kardashevskiy : > >> On 01/21/2014 02:11 AM, Alexander Graf wrote: >> >>> On 07.01.2014, at 05:35, Alexey Kardashevskiy wrote: >>> >>> If we know for sure that the image in "-kernel" is an ELF and we know its >>> architecture and it is not supported by

Re: [Qemu-devel] [RFC PATCH] elf loader: exit if incompatible architecture is detected

2014-01-20 Thread Alexey Kardashevskiy
On 01/21/2014 02:11 AM, Alexander Graf wrote: > > On 07.01.2014, at 05:35, Alexey Kardashevskiy wrote: > >> If we know for sure that the image in "-kernel" is an ELF and we know its >> architecture and it is not supported by the current QEMU, there is no >> point to continue trying booting this

Re: [Qemu-devel] [RFC PATCH] elf loader: exit if incompatible architecture is detected

2014-01-20 Thread Peter Maydell
On 7 January 2014 04:35, Alexey Kardashevskiy wrote: > One of our users tried an X86 image with qemu-system-ppc64. Instead of > printing some reasonable message (which is possible in this case as the image > is ELF), QEMU (spapr.c) simply copied the image in RAM as a raw image and > SLOF failed to

Re: [Qemu-devel] [RFC PATCH] elf loader: exit if incompatible architecture is detected

2014-01-20 Thread Alexander Graf
On 07.01.2014, at 05:35, Alexey Kardashevskiy wrote: > If we know for sure that the image in "-kernel" is an ELF and we know its > architecture and it is not supported by the current QEMU, there is no > point to continue trying booting this image so let's exit once we deteced > this fact. > > S

[Qemu-devel] [RFC PATCH] elf loader: exit if incompatible architecture is detected

2014-01-06 Thread Alexey Kardashevskiy
If we know for sure that the image in "-kernel" is an ELF and we know its architecture and it is not supported by the current QEMU, there is no point to continue trying booting this image so let's exit once we deteced this fact. Signed-off-by: Alexey Kardashevskiy --- One of our users tried an