qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 3ac241: sun4u: ensure kernel_top is always in


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 3ac241: sun4u: ensure kernel_top is always initialised
Date: Tue, 21 Aug 2018 02:23:30 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 3ac24188eccffe4b6038b47f446c3472897abdf4
      
https://github.com/qemu/qemu/commit/3ac24188eccffe4b6038b47f446c3472897abdf4
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2018-08-20 (Mon, 20 Aug 2018)

  Changed paths:
    M hw/sparc64/sun4u.c

  Log Message:
  -----------
  sun4u: ensure kernel_top is always initialised

Valgrind reports that when loading a non-ELF kernel, kernel_top may be used
uninitialised when checking for an initrd.

Since there are no known non-ELF kernels for SPARC64 then we can simply
initialise kernel_top to 0 and then skip the initrd load process if it hasn't
been set by load_elf().

Reported-by: Thomas Huth <address@hidden>
Signed-off-by: Mark Cave-Ayland <address@hidden>


  Commit: 8498321421e95a822dc7a5dd3184890766a029bb
      
https://github.com/qemu/qemu/commit/8498321421e95a822dc7a5dd3184890766a029bb
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2018-08-20 (Mon, 20 Aug 2018)

  Changed paths:
    M hw/sparc/sun4m.c

  Log Message:
  -----------
  sun4m: don't use legacy fw_cfg_init_mem() function

Instead initialise the device via qdev to allow us to set device properties
directly as required.

Signed-off-by: Mark Cave-Ayland <address@hidden>


  Commit: 90b9508e211360f243a32474d67a4d49edb80d6a
      
https://github.com/qemu/qemu/commit/90b9508e211360f243a32474d67a4d49edb80d6a
  Author: Peter Maydell <address@hidden>
  Date:   2018-08-21 (Tue, 21 Aug 2018)

  Changed paths:
    M hw/sparc/sun4m.c
    M hw/sparc64/sun4u.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/mcayland/tags/qemu-sparc.for-upstream-20180820' into staging

qemu-sparc.for-upstream queue

# gpg: Signature made Mon 20 Aug 2018 19:38:04 BST
# gpg:                using RSA key 5BC2C56FAE0F321F
# gpg: Good signature from "Mark Cave-Ayland <address@hidden>"
# Primary key fingerprint: CC62 1AB9 8E82 200D 915C  C9C4 5BC2 C56F AE0F 321F

* remotes/mcayland/tags/qemu-sparc.for-upstream-20180820:
  sun4m: don't use legacy fw_cfg_init_mem() function
  sun4u: ensure kernel_top is always initialised

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/d0092d90eb54...90b9508e2113
      **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

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