Re: [Qemu-devel] [PATCH] qdev: Fix QOM unrealize behavior

2013-04-22 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

[Qemu-devel] [PATCH] qdev: Fix QOM unrealize behavior

2013-04-15 Thread Andreas Färber
Since commit 249d41720b7dfbb5951b430b9eefdbee7464f515 (qdev: Prepare "realized" property) setting realized = true would register the device's VMStateDescription, but realized = false would not unregister it. Fix that. Moving the code from unparenting also revealed that we were calling DeviceClass: