RE: [PATCH 0/3]hw: Fixs memleak of fdevice tree blob

2020-02-18 Thread Chenqun (kuhn)
ailiang ; qemu- >triv...@nongnu.org; pbonz...@redhat.com; Pannengyuan >; Chenqun (kuhn) > >Subject: [PATCH 0/3]hw: Fixs memleak of fdevice tree blob > >From: Chen Qun > Hi all, after reviewing various patches from Pan Nengyuan fix ppc-e500 fdt memleaks, I search for related content and foun

[PATCH 0/3]hw: Fixs memleak of fdevice tree blob

2020-02-18 Thread kuhn.chenqun
From: Chen Qun The device tree blob returned by load_device_tree is malloced. We should free it after cpu_physical_memory_write().Otherwise, if we repeatedly call 'system_reset',it will repeatedly load fdt, so there are many memleaks. Paolo Bonzini : https://lists.gnu.org/archive/html/qemu-devel