Il 18/07/2014 16:25, Andreas Färber ha scritto: > Actually, is this really safe? By my reading, this function handles > -object as well, which in turn allows - in theory - to instantiate any > device, where some will still have underscores in their property names. > Not sure if all non-device objects such as virtio-rng backends have been > checked?
I guess you would have to change devices from _ to - before adding UserCreatable to devices. -object backends are safe, they only use - (virtio-rng doesn't even have dashes). Paolo