]> Git Repo - qemu.git/commit
qom: fix device hot-unplug
authorPaolo Bonzini <[email protected]>
Tue, 28 Feb 2012 08:54:15 +0000 (09:54 +0100)
committerAnthony Liguori <[email protected]>
Mon, 12 Mar 2012 19:05:25 +0000 (14:05 -0500)
commit6c1fdcf902bb61920e0cf8476b213a85c0697c09
tree9ea5f512b6bf7098adfc294bf48ad93fdf0287c4
parent66d341e54f7b81ff076ffd681ed574d557bd7495
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
qom/object.c
This page took 0.021856 seconds and 4 git commands to generate.