qom: Document ways to retrieve child object added by object_property_add_child()
object_property_add_child() creates a property whose values as a string isthe child object's canonical path.
Acked-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Alexander Barabash <alexander_barabash@mentor.com>...
qom: add generic string parsing/printing
Add generic property accessors that take a string and parse itappropriately for the property type. All the magic here is doneby the new string-based visitors.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qom: Fix typo in Object's documentation
Fixes a warning from gtk-doc.
Signed-off-by: Andreas Färber <afaerber@suse.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qom: Fix identifiers in documentation
Fixes gtk-doc warnings.
qom: Unify type registration
Replace device_init() with generalized type_init().
While at it, unify naming convention: type_init([$prefix_]register_types)Also, type_init() is a function, so add preceding blank line wherenecessary and don't put a semicolon after the closing brace....
qom: add object_resolve_path_type
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qom: add property get/set wrappers for links
These can set a link to any object, as long as it is included inthe composition tree.
qom: add QObject-based property get/set wrappers
Move the creation of QmpInputVisitor and QmpOutputVisitor from qmp.cto qom/object.c, since it's the only practical way to access objectproperties.
Keep this isolated such that it's easy to remove. At some point, we need...
qom: add property get/set wrappers for C types
Add wrappers that let you get/set properties using normal C data types.
Reviewed-by: Anthony Liguori <anthony@aliguori@us.ibm.com>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qom: more documentation on subclassing
View revisions
Also available in: Atom