Re: [Qemu-devel] [PATCH 1.3 0/5] QOM/qdev lifetime fixes

2012-11-26 Thread Anthony Liguori
Paolo Bonzini writes: > These patches fix problems in the handling of freeing QOM/qdev > objects. Together, they fix hot-unplug of USB mass storage devices, > which crashed with an assertion failure. > > I'm not 100% sure, but I think we were always leaking the scsi-disk in > pre-QOM days. Now

[Qemu-devel] [PATCH 1.3 0/5] QOM/qdev lifetime fixes

2012-11-23 Thread Paolo Bonzini
These patches fix problems in the handling of freeing QOM/qdev objects. Together, they fix hot-unplug of USB mass storage devices, which crashed with an assertion failure. I'm not 100% sure, but I think we were always leaking the scsi-disk in pre-QOM days. Now we're freeing it properly, and the