qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] e703d2: ppc: parse cpu features once


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] e703d2: ppc: parse cpu features once
Date: Tue, 16 Aug 2016 02:00:04 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: e703d2f71c0f3f721b66bd2955135524538d2c58
      
https://github.com/qemu/qemu/commit/e703d2f71c0f3f721b66bd2955135524538d2c58
  Author: Greg Kurz <address@hidden>
  Date:   2016-08-13 (Sat, 13 Aug 2016)

  Changed paths:
    M hw/ppc/ppc.c
    M hw/ppc/spapr.c
    M include/hw/ppc/ppc.h

  Log Message:
  -----------
  ppc: parse cpu features once

Considering that features are converted to global properties and
global properties are automatically applied to every new instance
of created CPU (at object_new() time), there is no point in
parsing cpu_model string every time a CPU created. So move
parsing outside CPU creation loop and do it only once.

Parsing also should be done before any CPU is created so that
features would affect the first CPU a well.

This patch does that for all PowerPC machine types.

It is based on previous work from Bharata:

https://lists.nongnu.org/archive/html/qemu-devel/2016-06/msg07564.html

Signed-off-by: Greg Kurz <address@hidden>
[clg: only kept the fix for the spapr platform. support for other
      platform will be added in 2.8 ]
Signed-off-by: Cédric Le Goater <address@hidden>
Tested-by: Bharata B Rao <address@hidden>
Signed-off-by: David Gibson <address@hidden>


  Commit: f3b9e787aee6ef7d216b616675db0f1c124da5e4
      
https://github.com/qemu/qemu/commit/f3b9e787aee6ef7d216b616675db0f1c124da5e4
  Author: Peter Maydell <address@hidden>
  Date:   2016-08-15 (Mon, 15 Aug 2016)

  Changed paths:
    M hw/ppc/ppc.c
    M hw/ppc/spapr.c
    M include/hw/ppc/ppc.h

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.7-20160815' into 
staging

ppc patch queue for 2016-08-15

Just a single patch here, I hope this is the last ppc / spapr fix to
squeeze into qemu-2.7.

# gpg: Signature made Mon 15 Aug 2016 07:46:36 BST
# gpg:                using RSA key 0x6C38CACA20D9B392
# gpg: Good signature from "David Gibson <address@hidden>"
# gpg:                 aka "David Gibson (Red Hat) <address@hidden>"
# gpg:                 aka "David Gibson (ozlabs.org) <address@hidden>"
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392

* remotes/dgibson/tags/ppc-for-2.7-20160815:
  ppc: parse cpu features once

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


Compare: https://github.com/qemu/qemu/compare/e5bfef86fe57...f3b9e787aee6

reply via email to

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