On 02/21/2012 09:47 PM, Andreas Färber wrote:
>> > +void object_property_parse(Object *obj, const char *string,
>> > + const char *name, Error **errp)
>> > +{
>> > +StringInputVisitor *mi;
> Curious: where does mi/mo come from?
Cut-and-paste from the version using QMP
Am 09.02.2012 15:31, schrieb Paolo Bonzini:
> Add generic property accessors that take a string and parse it
> appropriately for the property type. All the magic here is done
> by the new string-based visitors.
>
> Signed-off-by: Paolo Bonzini
> ---
> include/qemu/object.h | 24 ++
Add generic property accessors that take a string and parse it
appropriately for the property type. All the magic here is done
by the new string-based visitors.
Signed-off-by: Paolo Bonzini
---
include/qemu/object.h | 24
qom/object.c | 24 +