On 02.07.14 08:32, Paolo Bonzini wrote:
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?
Sure - I'll change it to be a bool in MachineClass and QEMUMachine (I
really don't want to have the qom-machinification also as part of this
patch set)
Alex