Re: [Qemu-devel] [PATCH 3/3] macio: move DBDMA_init from instance_init to realize

2015-09-30 Thread Thomas Huth
On 29/09/15 14:37, Paolo Bonzini wrote: > DBDMA_init is not idempotent, and calling it from instance_init > breaks a simple object_new/object_unref pair. Work around this, > pending qdev-ification of DBDMA, by moving the call to realize. > > Reported-by: Markus Armbruster > Signed-off-by: Paolo

[Qemu-devel] [PATCH 3/3] macio: move DBDMA_init from instance_init to realize

2015-09-29 Thread Paolo Bonzini
DBDMA_init is not idempotent, and calling it from instance_init breaks a simple object_new/object_unref pair. Work around this, pending qdev-ification of DBDMA, by moving the call to realize. Reported-by: Markus Armbruster Signed-off-by: Paolo Bonzini --- hw/misc/macio/macio.c | 8 1