diff options
author | Anthony Liguori | 2011-12-22 21:11:53 +0100 |
---|---|---|
committer | Anthony Liguori | 2012-02-03 17:41:05 +0100 |
commit | 93c511a1adad281492f18b13e164ae4ac790c052 (patch) | |
tree | 8e5b0e703ca231c19af54a2ae49d0d9fff95f420 /include/qemu | |
parent | qdev: refactor device creation to allow bus_info to be set only in class (diff) | |
download | qemu-93c511a1adad281492f18b13e164ae4ac790c052.tar.gz qemu-93c511a1adad281492f18b13e164ae4ac790c052.tar.xz qemu-93c511a1adad281492f18b13e164ae4ac790c052.zip |
qom: allow object_class_foreach to take additional parameters to refine search
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include/qemu')
-rw-r--r-- | include/qemu/object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/object.h b/include/qemu/object.h index ba37850a08..adbcfb1c1a 100644 --- a/include/qemu/object.h +++ b/include/qemu/object.h @@ -431,6 +431,7 @@ const char *object_class_get_name(ObjectClass *klass); ObjectClass *object_class_by_name(const char *typename); void object_class_foreach(void (*fn)(ObjectClass *klass, void *opaque), + const char *implements_type, bool include_abstract, void *opaque); #endif |