qom: add generic string parsing/printing
commitb2cd7dee86f27b6307b4bd411133bfb6ebc2be66
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Feb 2012 08:52:59 +0000 (9 09:52 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 22 Feb 2012 07:31:24 +0000 (22 08:31 +0100)
treea922c847aa76bf0c9af162fec05e0e764e78cc45
parent2d7799f2cccc54a71268d357403848fb4c48206c
qom: add generic string parsing/printing

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 <pbonzini@redhat.com>
include/qemu/object.h
qom/object.c