On 11/05/2015 19:26, Andreas Färber wrote: > Another problem is that you're using object_new() in realize at all, > which means that it's too late for any management interface to tweak > properties on the new device. One possible solution would be to create > the object in a property setter, before realizing the object. Did you > look at how some of the other backends are implemented, such as rng?
Note that this is not exactly a backend. It's a different guest-visible I/O interface. But there are no properties on the interface, so it's okay to create it at realize time. Paolo