Il 24/05/2012 13:43, Markus Armbruster ha scritto:
> Note: qdev objects (subtype of TYPE_DEVICE) created with qom-new lack
> additional magic performed by qdev_try_create(), and almost certainly
> won't work.

True.  With the patches on the list, all that adev_try_create does is really

    dev->parent_bus = bus;
    bus_add_child(bus, dev);

We should change that to a parent_bus property, so that device_add is
really qom-new + qom-set parent_bus.

Paolo

Reply via email to