aboutsummaryrefslogtreecommitdiff
path: root/xen-hvm.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2014-07-14 00:41:08 +1000
committerAndreas Färber <afaerber@suse.de>2014-09-04 16:14:47 +0200
commit8af734ca318369c4eb76f355ed4cc7d4e6abc2a6 (patch)
tree98d98a591f95c2f05ef9fc2205b19dc92848053e /xen-hvm.c
parent01eb313907dda97313b8fea62e5632fca64f069c (diff)
qom: Make object_child_foreach() safe for objects removal
Current object_child_foreach() uses QTAILQ_FOREACH() to walk through children and that makes children removal from the callback impossible. This makes object_child_foreach() use QTAILQ_FOREACH_SAFE(). Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Hu Tao <hutao@cn.fujitsu.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'xen-hvm.c')
0 files changed, 0 insertions, 0 deletions