On Wed, 1 Jul 2026 at 18:31, Emmanuel Blot <[email protected]> wrote: > > Slaves created with i2c_slave_create_simple() were left unparented and > showed up under /machine/unattached with no stable QOM path. Add each > slave as a QOM child of its bus, named after its I2C address, so it has > a deterministic and addressable QOM path.
Should devices on a bus be QOM children of the bus, though? I would expect that they ought to be QOM children of e.g. the SoC or machine that created them. Do we do this for other bus types, e.g. PCI ? -- PMM
