« Previous | Next » 

Revision 6853d27a

ID6853d27a1253cd29c43d08b0624e7938a48d52a7

Added by Paolo Bonzini about 11 years ago

qdev: move deletion of children from finalize to unparent

A device will never be finalized as long as it has a reference from
other devices that sit on its buses. To ensure that the references
go away, deassociate a bus from its children in the unparent callback
for the bus.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences