[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH 0/2] ppc: Allow "-prom-env" parameter for the pser
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH 0/2] ppc: Allow "-prom-env" parameter for the pseries machine, too |
Date: |
Thu, 27 Oct 2016 14:13:02 +1100 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Wed, Oct 26, 2016 at 09:35:39AM +0200, Thomas Huth wrote:
> Here's a slightly updated version of the patch that enables the "-prom-env"
> parameter for the pseries machine. The code is now only executed if
> nb_prom_envs > 0. That means if the user did _not_ specify a "-prom-env"
> parameter, there is no change in behavior (i.e. SLOF will initialize the
> NVRAM instead). This fixes the problem with grub2 not working because it does
> not find the "/options/real-mode?" property in the device tree.
>
> If you currently want to use the "-prom-env" parameter and grub2 together,
> you simply have to specify -prom-env "real-mode?=true" to get it working.
> This will be fixed by a later update to SLOF, so that you then do not have to
> specify this explicitely anymore.
>
> The second patch adds a test case for the -prom-env parameter on the
> pseries machine.
>
> The patches have to be applied on top of David's ppc-for-2.8 branch since
> they rely on the chrp_nvram rework patches that are queued there.
Applied to ppc-for-2.8, replacing earlier versions.
>
> Thomas Huth (2):
> spapr_nvram: Pre-initialize the NVRAM to support the -prom-env
> parameter
> tests: Add pseries machine to the prom-env-test, too
>
> hw/nvram/spapr_nvram.c | 6 ++++++
> tests/prom-env-test.c | 23 ++++++++++++++---------
> 2 files changed, 20 insertions(+), 9 deletions(-)
>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature