unicorn/qemu/include
Daniel P. Berrange 3ba8959dfd
qom: Introduce ObjectPropertyIterator struct for iteration
Some users of QOM need to be able to iterate over properties
defined against an object instance. Currently they are just
directly using the QTAIL macros against the object properties
data structure.

This is bad because it exposes them to changes in the data
structure used to store properties, as well as changes in
functionality such as ability to register properties against
the class.

This provides an ObjectPropertyIterator struct which will
insulate the callers from the particular data structure
used to store properties. It can be used thus

ObjectProperty *prop;
ObjectPropertyIterator *iter;

iter = object_property_iter_init(obj);
while ((prop = object_property_iter_next(iter))) {
... do something with prop ...
}
object_property_iter_free(iter);

Backports commit a00c94824126901168bca5b89147f9e334a49e87 from qemu
2018-02-17 18:39:00 -05:00
..
crypto Drop unused crypto source files 2018-02-17 15:23:57 -05:00
exec qemu_ram_block_by_name 2018-02-17 18:01:16 -05:00
fpu softfloat: expand out STATUS macro 2018-02-12 13:43:13 -05:00
hw apic_internal.h: fix formatting and drop unused consts 2018-02-17 15:23:54 -05:00
qapi qobject: Protect against use-after-free in qobject_decref() 2018-02-17 17:28:27 -05:00
qemu qemu_ram_block_from_host 2018-02-17 17:54:03 -05:00
qom qom: Introduce ObjectPropertyIterator struct for iteration 2018-02-17 18:39:00 -05:00
sysemu qemu-common.h: Move Win32 fixups into os-win32.h 2018-02-17 15:23:29 -05:00
config.h
elf.h
glib_compat.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
qemu-common.h exec: make mmap_lock/mmap_unlock globally available 2018-02-17 15:23:49 -05:00