Re: [Qemu-devel] [PATCH 0/2] qom: fix registration of QOM interfaces

2013-12-15 Thread Andreas Färber
Am 03.12.2013 16:41, schrieb Paolo Bonzini: > Hervé Poussineau (1): > qom: detect bad reentrance during object_class_foreach > > Paolo Bonzini (1): > qom: do not register interface "types" in the type table Thanks, applied to qom-next: https://github.com/afaerber/qemu-cpu/commits/qom-next An

[Qemu-devel] [PATCH 0/2] qom: fix registration of QOM interfaces

2013-12-03 Thread Paolo Bonzini
object_class_foreach can initialize new types, and also register new types corresponding to the implementations of interfaces. Those will change the type internal hashtable which is currently enumerated, and GHashTable does not permit this. Fix this by not registering those internal types in the h