Re: [Qemu-devel] [PATCH 02/13] pseries: Split device tree construction from device tree load

2016-10-20 Thread David Gibson
On Thu, Oct 20, 2016 at 09:03:04AM +0200, Thomas Huth wrote: > On 20.10.2016 07:11, David Gibson wrote: > > spapr_finalize_fdt() both finishes building the device tree for the guest > > and loads it into guest memory. For future cleanups, it's going to be > > more convenient to do these two things

Re: [Qemu-devel] [PATCH 02/13] pseries: Split device tree construction from device tree load

2016-10-20 Thread Thomas Huth
On 20.10.2016 07:11, David Gibson wrote: > spapr_finalize_fdt() both finishes building the device tree for the guest > and loads it into guest memory. For future cleanups, it's going to be > more convenient to do these two things separately. The loading portion is > pretty trivial, so we move it

[Qemu-devel] [PATCH 02/13] pseries: Split device tree construction from device tree load

2016-10-19 Thread David Gibson
spapr_finalize_fdt() both finishes building the device tree for the guest and loads it into guest memory. For future cleanups, it's going to be more convenient to do these two things separately. The loading portion is pretty trivial, so we move it inline into the caller, ppc_spapr_reset(). We al