]> git.proxmox.com Git - mirror_qemu.git/commit
qom: add generic string parsing/printing
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Feb 2012 08:52:59 +0000 (09:52 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 22 Feb 2012 07:31:24 +0000 (08:31 +0100)
commitb2cd7dee86f27b6307b4bd411133bfb6ebc2be66
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