Hi, This series is a cleanup that fixes the issues observed by Markus Armbruster in the review of jianchunfu's patch:
https://lists.gnu.org/archive/html/qemu-devel/2022-06/msg05393.html I've also included jianchunfu's patch, with the relevant bits, in the series. Daniel Henrique Barboza (8): target/ppc/kvm.c: do not return -1 on uint64_t return target/ppc: add errp to kvmppc_read_int_cpu_dt() target/ppc: use g_autofree in kvmppc_read_int_cpu_dt() target/ppc: use Error pointer in kvmppc_get_clockfreq() ppc440_bamboo.c: handle clock freq read error in load_device_tree sam460ex.c: use CPU_FREQ if unable to read DT clock e500.c: use PLATFORM_CLK_FREQ_HZ if unable to read clock freq from DT spapr.c: handle clock freq read errors in spapr_dt_cpu() jianchunfu (1): target/ppc: Add error reporting when opening file fails hw/ppc/e500.c | 8 +++++++- hw/ppc/ppc440_bamboo.c | 17 ++++++++++++++--- hw/ppc/sam460ex.c | 8 +++++++- hw/ppc/spapr.c | 12 +++++++++++- include/hw/ppc/spapr.h | 1 + target/ppc/kvm.c | 33 +++++++++++++++++---------------- target/ppc/kvm_ppc.h | 2 +- 7 files changed, 58 insertions(+), 23 deletions(-) -- 2.36.1