aboutsummaryrefslogtreecommitdiff
path: root/device_tree.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-02-28 09:54:15 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2012-03-12 14:05:25 -0500
commit6c1fdcf902bb61920e0cf8476b213a85c0697c09 (patch)
tree9ea5f512b6bf7098adfc294bf48ad93fdf0287c4 /device_tree.h
parent66d341e54f7b81ff076ffd681ed574d557bd7495 (diff)
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 <mst@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'device_tree.h')
0 files changed, 0 insertions, 0 deletions