« Previous | Next » 

Revision 6c1fdcf9

ID6c1fdcf902bb61920e0cf8476b213a85c0697c09

Added by Paolo Bonzini about 12 years ago

qom: fix device hot-unplug

Property removal modifies the list, so it is not safe to continue
iteration. We know anyway that each object can have only one
parent (see object_property_add_child), so exit after finding
the requested object.

Reported-by: Michael S. Tsirkin <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences