]> Git Repo - qemu.git/commit
pseries: Consolidate RTAS loading
authorDavid Gibson <[email protected]>
Thu, 20 Oct 2016 04:37:41 +0000 (15:37 +1100)
committerDavid Gibson <[email protected]>
Thu, 27 Oct 2016 22:38:26 +0000 (09:38 +1100)
commit2cac78c12ade9a87b6251f8d854c2e43a30f41bf
tree579bc8d10805b03aee3a8660821da395629d9f1a
parentcf6e522390126bdd20406481f3df79c194a431bd
pseries: Consolidate RTAS loading

At each system reset, the pseries machine needs to load RTAS (the runtime
portion of the guest firmware) into the VM.  This means copying
the actual RTAS code into guest memory, and also updating the device
tree so that the guest OS and boot firmware can locate it.

For historical reasons the copy and update to the device tree were in
different parts of the code.  This cleanup brings them both together in
an spapr_load_rtas() function.

Signed-off-by: David Gibson <[email protected]>
Reviewed-by: Alexey Kardashevskiy <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Michael Roth <[email protected]>
hw/ppc/spapr.c
hw/ppc/spapr_rtas.c
include/hw/ppc/spapr.h
This page took 0.025236 seconds and 4 git commands to generate.