Re: [Qemu-devel] [PATCH v5 3/6] hw/arm/boot: do not free VirtBoardInfo fdt in arm_load_dtb

2014-12-05 Thread Peter Maydell
On 30 November 2014 at 18:19, Eric Auger wrote: > Currently arm_load_dtb frees the fdt handle whatever it is allocated > from load_device_tree or allocated externally. > > When adding dynamic sysbus nodes after the first dtb load, we would like > to reuse the fdt used during the first load instead

[Qemu-devel] [PATCH v5 3/6] hw/arm/boot: do not free VirtBoardInfo fdt in arm_load_dtb

2014-11-30 Thread Eric Auger
Currently arm_load_dtb frees the fdt handle whatever it is allocated from load_device_tree or allocated externally. When adding dynamic sysbus nodes after the first dtb load, we would like to reuse the fdt used during the first load instead of re-creating the whole device tree. If the fdt is destr