Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 3ee3122c0d2614297890ded2017655fc2a139af6
      
https://github.com/qemu/qemu/commit/3ee3122c0d2614297890ded2017655fc2a139af6
  Author: Aurelien Jarno <aurel...@aurel32.net>
  Date:   2017-07-28 (Fri, 28 Jul 2017)

  Changed paths:
    M hw/mips/mips_fulong2e.c
    M hw/mips/mips_malta.c
    M hw/mips/mips_mipssim.c
    M hw/mips/mips_r4k.c

  Log Message:
  -----------
  hw/mips: load_elf_strerror to report kernel loading failure

Emulated MIPS boards bail out with a simple "could not load kernel" when
a kernel could not be load, without specifying the underlying reason.
Fix that by calling load_elf_strerror.

At the same time use error_report to report the error instead of
fprintf.

Signed-off-by: Aurelien Jarno <aurel...@aurel32.net>
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4...@amsat.org>
Signed-off-by: Yongbok Kim <yongbok....@imgtec.com>


  Commit: 665df9010aa40d1e028d6ad5d3bdb4d9b0a3294c
      
https://github.com/qemu/qemu/commit/665df9010aa40d1e028d6ad5d3bdb4d9b0a3294c
  Author: Alexey Kardashevskiy <a...@ozlabs.ru>
  Date:   2017-07-28 (Fri, 28 Jul 2017)

  Changed paths:
    M hw/core/loader.c

  Log Message:
  -----------
  Revert "elf-loader: warn about invalid endianness"

This reverts c8e1158cf611 "elf-loader: warn about invalid endianness"
as it produces a useless message every time an LE kernel image is
passed via -kernel on a ppc64-pseries machine. The pseries machine
already checks for ELF_LOAD_WRONG_ENDIAN and tries with big_endian=0.

Signed-off-by: Alexey Kardashevskiy <a...@ozlabs.ru>
Signed-off-by: Aurelien Jarno <aurel...@aurel32.net>
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>
Signed-off-by: Yongbok Kim <yongbok....@imgtec.com>


  Commit: 3aabfec2c83da500ae52fc87ff3a0a60718022db
      
https://github.com/qemu/qemu/commit/3aabfec2c83da500ae52fc87ff3a0a60718022db
  Author: Peter Maydell <peter.mayd...@linaro.org>
  Date:   2017-07-28 (Fri, 28 Jul 2017)

  Changed paths:
    M hw/core/loader.c
    M hw/mips/mips_fulong2e.c
    M hw/mips/mips_malta.c
    M hw/mips/mips_mipssim.c
    M hw/mips/mips_r4k.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/yongbok/tags/mips-20170728' into staging

MIPS patches 2017-07-28

Changes:
* Improve ths MIPS board kernel load error reporting
* Revert unnecessary warning messages

# gpg: Signature made Fri 28 Jul 2017 13:47:52 BST
# gpg:                using RSA key 0x2238EB86D5F797C2
# gpg: Good signature from "Yongbok Kim <yongbok....@imgtec.com>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 8600 4CF5 3415 A5D9 4CFA  2B5C 2238 EB86 D5F7 97C2

* remotes/yongbok/tags/mips-20170728:
  Revert "elf-loader: warn about invalid endianness"
  hw/mips: load_elf_strerror to report kernel loading failure

Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>


Compare: https://github.com/qemu/qemu/compare/762971738c18...3aabfec2c83d

Reply via email to