Re: [Qemu-devel] [PATCH 2/2] qom: fix device hot-unplug

2012-03-10 Thread Andreas Färber
Am 28.02.2012 09:54, schrieb Paolo Bonzini: > 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. Tsirki

[Qemu-devel] [PATCH 2/2] qom: fix device hot-unplug

2012-02-28 Thread Paolo Bonzini
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 --- qom/object.c |