qemu-patch-raspberry4/include/qemu
Paolo Bonzini fde9bf4470 qom: make object_delete usable for statically-allocated objects
Store in the object the freeing function that will be used at deletion
time.  This makes it possible to use object_delete on statically-allocated
(embedded) objects.  Dually, it makes it possible to use object_unparent
and object_unref without leaking memory, when the lifetime of object
might extend until after the call to object_delete.

Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-11-26 13:41:00 -06:00
..
cpu.h cpu: Move thread_id to CPUState 2012-10-31 04:12:23 +01:00
object.h qom: make object_delete usable for statically-allocated objects 2012-11-26 13:41:00 -06:00
page_cache.h Add cache handling functions 2012-08-08 13:51:12 +02:00
qom-qobject.h qom: add QObject-based property get/set wrappers 2012-02-07 13:52:40 +01:00
ratelimit.h stream: move rate limiting to a separate header file 2012-06-15 14:03:42 +02:00
rng-random.h rng-random: add an RNG backend that uses /dev/random (v3) 2012-11-16 08:36:13 -06:00
rng.h rng: add RndBackend abstract object class 2012-11-16 08:36:12 -06:00