Re: [Qemu-devel] [PATCH 05/21] qom: assert that public types have a non-NULL parent field

2012-05-23 Thread Andreas Färber
Am 02.05.2012 14:35, schrieb Andreas Färber: Am 02.05.2012 13:30, schrieb Paolo Bonzini: This protects against unwanted effects of changing TYPE_OBJECT from NULL to a string. Suggested by Andreas Faerber. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- include/qemu/object.h |1 -

Re: [Qemu-devel] [PATCH 05/21] qom: assert that public types have a non-NULL parent field

2012-05-02 Thread Andreas Färber
Am 02.05.2012 13:30, schrieb Paolo Bonzini: This protects against unwanted effects of changing TYPE_OBJECT from NULL to a string. Suggested by Andreas Faerber. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- include/qemu/object.h |1 - qom/object.c | 14 ++