Am 21.03.2014 19:44, schrieb Peter Maydell: > When trying to load an ELF file specified via -kernel, we need to > pass load_elf() the ELF machine type corresponding to the CPU we're > booting with, not the one corresponding to the softmmu binary > we happen to be running. (The two are different in the case of > loading a 32-bit ARM ELF file into a 32 bit CPU being emulated > by qemu-system aarch64.) This was causing us to incorrectly fail > to load ELF images in this situation. > > Signed-off-by: Peter Maydell <peter.maydell@xxxxxxxxxx> Reviewed-by: Andreas Färber <afaerber@xxxxxxx> > --- > This isn't really a big deal since we can just say "use the > qemu-system-arm binary instead". However maybe we should put > this into 2.0. Opinions? Looks un-intrusive, so +1. Cheers, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm