ARM devboards: Set arm_sysctl properties before init, not after
The ARM devboard models (vexpress-a9, realview, versatilepb, etc)were accidentally trying to set one of the arm_sysctl propertiesafter device init. This has now become a fatal error; set the property...
Merge remote-tracking branch 'bonzini/qdev-props-for-anthony' into staging
Merge remote-tracking branch 'aneesh/for-upstream' into staging
Restore consistent formatting
Signed-off-by: malc <av1474@comtv.ru>
qdev: let QOM free properties
Drop the special free callback. Instead, register a "regular" release method in the non-legacy property.
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qdev: fix off-by-one
Integer properties did not work.
qdev: access properties via QOM
Do not poke anymore in the struct when accessing qdev properties.Instead, ask the object to set the right value.
qdev: inline qdev_prop_set into qdev_prop_set_ptr
qdev_prop_set is not needed anymore except for hacks, simplify it andinline it.
qdev: initialize properties via QOM
Similarly, use the object properties also to set the defaultvalues of the qdev properties. This requires reorderingregistration and initialization.
qdev: remove unused fields from PropertyInfo
View revisions
Also available in: Atom