On 08/01/2020 13:30, Alexey Kardashevskiy wrote: > + > +uint32_t spapr_of_client_open(SpaprMachineState *spapr, uint32_t phandle) Ooops, this should have been an address of a path, not a phandle. > +{ > + g_assert(spapr->of_instance_last != 0xFFFFFFFF); > + ++spapr->of_instance_last; > + g_hash_table_insert(spapr->of_instances, > + GINT_TO_POINTER(spapr->of_instance_last), > + GINT_TO_POINTER(phandle)); > + > + return spapr->of_instance_last; > +} -- Alexey
- [PATCH qemu v3] spapr: Kill SLOF Alexey Kardashevskiy
- Re: [PATCH qemu v3] spapr: Kill SLOF Alexey Kardashevskiy