ppc: Allow "-prom-env" parameter for the pseries machine, too
Status from this message: Applied to ppc-for-2.8, replacing earlier versions.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | spapr_nvram: Pre-initialize the NVRAM to support the -prom-env parameterhw/ | +6 | 0 replies | |
| 2/2 | tests: Add pseries machine to the prom-env-test, tootests/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/2] ppc: Allow "-prom-env" parameter for the pseries machine, too
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.
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(-)
Signature · 1 line
1.8.3.1