]> git.proxmox.com Git - qemu.git/commit - qom/object.c
qom: Add object_child_foreach()
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 11 Apr 2012 21:30:20 +0000 (23:30 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 18 Jun 2012 13:14:36 +0000 (15:14 +0200)
commit32efc535b86626646442de7fe5793f3a47f4ce91
tree0bc63c4a030217c49f98d14b5d56fbefccabd4b3
parent5d9d3f4757897fe5c376e25e944c08f36c412907
qom: Add object_child_foreach()

A utility function that will be used to implement hierarchical realization.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
[AF: Drop unrelated whitespace change, add Returns: in documentation]
[AF: Use new object_property_is_child() helper.]
Signed-off-by: Andreas Färber <afaerber@suse.de>
include/qemu/object.h
qom/object.c