[Qemu-devel] [PATCH] qdev: fix device_del by refactoring reference counting

2012-01-13 Thread Anthony Liguori
Commit 8eb0283 broken device_del by having too overzealous reference counting checks. Move the reference count checks to qdev_free(), make sure to remove the parent link on free, and decrement the reference count on property removal. Reported-by: Markus Armbruster arm...@redhat.com

Re: [Qemu-devel] [PATCH] qdev: fix device_del by refactoring reference counting

2012-01-13 Thread Anthony Liguori
On 01/13/2012 07:45 AM, Anthony Liguori wrote: Commit 8eb0283 broken device_del by having too overzealous reference counting checks. Move the reference count checks to qdev_free(), make sure to remove the parent link on free, and decrement the reference count on property removal. Reported-by: