mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
pseries: Move /event-sources construction to spapr_build_fdt()
The /event-sources device tree node is built from spapr_create_fdt_skel(). As part of consolidating device tree construction to reset time, this moves it to spapr_build_fdt(). 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>
This commit is contained in:
parent
3f5dabceba
commit
ffb1e275a6
3 changed files with 14 additions and 15 deletions
|
@ -328,9 +328,6 @@ static void *spapr_create_fdt_skel(sPAPRMachineState *spapr)
|
|||
|
||||
_FDT((fdt_end_node(fdt)));
|
||||
|
||||
/* event-sources */
|
||||
spapr_events_fdt_skel(fdt, spapr->check_exception_irq);
|
||||
|
||||
/* /hypervisor node */
|
||||
if (kvm_enabled()) {
|
||||
uint8_t hypercall[16];
|
||||
|
@ -983,6 +980,9 @@ static void *spapr_build_fdt(sPAPRMachineState *spapr,
|
|||
}
|
||||
}
|
||||
|
||||
/* /event-sources */
|
||||
spapr_dt_events(fdt, spapr->check_exception_irq);
|
||||
|
||||
/* /rtas */
|
||||
spapr_dt_rtas(spapr, fdt);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue