qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 3ee312: hw/mips: load_elf_strerror to report


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 3ee312: hw/mips: load_elf_strerror to report kernel loadin...
Date: Fri, 28 Jul 2017 08:50:36 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 3ee3122c0d2614297890ded2017655fc2a139af6
      
https://github.com/qemu/qemu/commit/3ee3122c0d2614297890ded2017655fc2a139af6
  Author: Aurelien Jarno <address@hidden>
  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 <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Yongbok Kim <address@hidden>


  Commit: 665df9010aa40d1e028d6ad5d3bdb4d9b0a3294c
      
https://github.com/qemu/qemu/commit/665df9010aa40d1e028d6ad5d3bdb4d9b0a3294c
  Author: Alexey Kardashevskiy <address@hidden>
  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 <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Yongbok Kim <address@hidden>


  Commit: 3aabfec2c83da500ae52fc87ff3a0a60718022db
      
https://github.com/qemu/qemu/commit/3aabfec2c83da500ae52fc87ff3a0a60718022db
  Author: Peter Maydell <address@hidden>
  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 <address@hidden>"
# 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 <address@hidden>


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]