On 6/24/20 6:54 PM, Philippe Mathieu-Daudé wrote: > Hi Cédric, > > On Mon, Jun 22, 2020 at 10:35 AM Philippe Mathieu-Daudé <f4...@amsat.org> > wrote: >> On 6/22/20 8:49 AM, Cédric Le Goater wrote: >>> On 6/21/20 12:58 AM, Philippe Mathieu-Daudé wrote: >>>> We have 2 distinct PCA9552 devices. Set their description >>>> to distinguish them when looking at the trace events. >>> >>> It's nice and usefull but couldn't we do the same with a QOM object name ? >> >> qdev inherits QOM and overloads it with the qdev_ API. >> Since we have a qdev object, isn't it better to use the qdev_ API? >> >> I'd keep the QOM API for bare QOM objects.(I find confusing to use >> different APIs). > > FYI you can get an idea of the QOM -> qdev -> sysbus -> ... tree here: > https://observablehq.com/@philmd/qemu-aarch64-softmmu-qom-tree >
nice ! Thanks, C.