diff options
| author | David Gibson | 2016-10-20 06:34:59 +0200 |
|---|---|---|
| committer | David Gibson | 2016-10-28 00:38:25 +0200 |
| commit | cf6e522390126bdd20406481f3df79c194a431bd (patch) | |
| tree | 2310425edc3060ac5b7cebc105da236355fe996f /include | |
| parent | pseries: Make spapr_create_fdt_skel() get information from machine state (diff) | |
| download | qemu-cf6e522390126bdd20406481f3df79c194a431bd.tar.gz qemu-cf6e522390126bdd20406481f3df79c194a431bd.tar.xz qemu-cf6e522390126bdd20406481f3df79c194a431bd.zip | |
pseries: Move adding of fdt reserve map entries
The flattened device tree passed to pseries guests contains a list of
reserved memory areas. Currently we construct this list early in
spapr_create_fdt_skel() as we sequentially write the fdt.
This will be inconvenient for upcoming cleanups, so this patch moves
the reserve map changes to the end of fdt construction. This changes
fdt_add_reservemap_entry() calls - which work when writing the fdt
sequentially to fdt_add_mem_rsv() calls used when altering the fdt in
random access mode.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
