Re: [Qemu-devel] [PATCH 2/2] qom: detect bad reentrance during object_class_foreach

2013-12-24 Thread Andreas Färber
Am 24.12.2013 07:49, schrieb Alexey Kardashevskiy: > On 12/20/2013 10:43 PM, Alexey Kardashevskiy wrote: >> On 12/20/2013 10:29 PM, Andreas Färber wrote: >>> Am 19.12.2013 12:38, schrieb Alexey Kardashevskiy: What I wonder about is what is going to happen to the rest of what I posted? Sho

Re: [Qemu-devel] [PATCH 2/2] qom: detect bad reentrance during object_class_foreach

2013-12-23 Thread Alexey Kardashevskiy
On 12/20/2013 10:43 PM, Alexey Kardashevskiy wrote: > On 12/20/2013 10:29 PM, Andreas Färber wrote: >> Am 19.12.2013 12:38, schrieb Alexey Kardashevskiy: >>> On 12/16/2013 08:23 AM, Andreas Färber wrote: Am 04.12.2013 06:51, schrieb Peter Crosthwaite: > On Wed, Dec 4, 2013 at 1:42 AM, Paol

Re: [Qemu-devel] [PATCH 2/2] qom: detect bad reentrance during object_class_foreach

2013-12-20 Thread Alexey Kardashevskiy
On 12/20/2013 10:29 PM, Andreas Färber wrote: > Am 19.12.2013 12:38, schrieb Alexey Kardashevskiy: >> On 12/16/2013 08:23 AM, Andreas Färber wrote: >>> Am 04.12.2013 06:51, schrieb Peter Crosthwaite: On Wed, Dec 4, 2013 at 1:42 AM, Paolo Bonzini wrote: > From: Hervé Poussineau >

Re: [Qemu-devel] [PATCH 2/2] qom: detect bad reentrance during object_class_foreach

2013-12-20 Thread Andreas Färber
Am 19.12.2013 12:38, schrieb Alexey Kardashevskiy: > On 12/16/2013 08:23 AM, Andreas Färber wrote: >> Am 04.12.2013 06:51, schrieb Peter Crosthwaite: >>> On Wed, Dec 4, 2013 at 1:42 AM, Paolo Bonzini wrote: From: Hervé Poussineau We should not modify the type hash table while it is

Re: [Qemu-devel] [PATCH 2/2] qom: detect bad reentrance during object_class_foreach

2013-12-19 Thread Alexey Kardashevskiy
On 12/16/2013 08:23 AM, Andreas Färber wrote: > Am 04.12.2013 06:51, schrieb Peter Crosthwaite: >> On Wed, Dec 4, 2013 at 1:42 AM, Paolo Bonzini wrote: >>> From: Hervé Poussineau >>> >>> We should not modify the type hash table while it is being iterated on. >>> Assert that it does not happen. >>

Re: [Qemu-devel] [PATCH 2/2] qom: detect bad reentrance during object_class_foreach

2013-12-15 Thread Andreas Färber
Am 04.12.2013 06:51, schrieb Peter Crosthwaite: > On Wed, Dec 4, 2013 at 1:42 AM, Paolo Bonzini wrote: >> From: Hervé Poussineau >> >> We should not modify the type hash table while it is being iterated on. >> Assert that it does not happen. >> >> Signed-off-by: Hervé Poussineau >> Signed-off-by

Re: [Qemu-devel] [PATCH 2/2] qom: detect bad reentrance during object_class_foreach

2013-12-03 Thread Peter Crosthwaite
On Wed, Dec 4, 2013 at 1:42 AM, Paolo Bonzini wrote: > From: Hervé Poussineau > > We should not modify the type hash table while it is being iterated on. > Assert that it does not happen. > > Signed-off-by: Hervé Poussineau > Signed-off-by: Paolo Bonzini > --- > qom/object.c | 4 > 1 file

[Qemu-devel] [PATCH 2/2] qom: detect bad reentrance during object_class_foreach

2013-12-03 Thread Paolo Bonzini
From: Hervé Poussineau We should not modify the type hash table while it is being iterated on. Assert that it does not happen. Signed-off-by: Hervé Poussineau Signed-off-by: Paolo Bonzini --- qom/object.c | 4 1 file changed, 4 insertions(+) diff --git a/qom/object.c b/qom/object.c inde