Il 01/07/2014 23:49, Alexander Graf ha scritto:
+ +static void machine_init_notify(Notifier *notifier, void *data) +{ + Object *machine = qdev_get_machine(); + Object *container; + + if (object_property_find(machine, "has-dynamic-sysbus", NULL)) { + /* Our machine can handle dynamic sysbus devices, we're all good */ + return; + }
Does it need to be a property, or can it simply be a bool in MachineClass? Paolo