Re: [Qemu-devel] [PATCH qom v1 1/1] qom/object.c: Split out object and class caches.

2013-12-15 Thread Andreas Färber
Am 13.12.2013 02:36, schrieb Edgar E. Iglesias: > On Wed, Nov 27, 2013 at 08:27:33PM -0800, Peter Crosthwaite wrote: >> The object-cast and class-cast caches cannot be shared because class >> caching is conditional on the target type not being an interface and >> object caching is unconditional. Le

Re: [Qemu-devel] [PATCH qom v1 1/1] qom/object.c: Split out object and class caches.

2013-12-12 Thread Edgar E. Iglesias
On Wed, Nov 27, 2013 at 08:27:33PM -0800, Peter Crosthwaite wrote: > The object-cast and class-cast caches cannot be shared because class > caching is conditional on the target type not being an interface and > object caching is unconditional. Leads to a bug when a class cast > to an interface foll

Re: [Qemu-devel] [PATCH qom v1 1/1] qom/object.c: Split out object and class caches.

2013-12-10 Thread Nathan Rossi
; Developers; Andreas Färber; Nathan Rossi > Subject: Re: [Qemu-devel] [PATCH qom v1 1/1] qom/object.c: Split out > object and class caches. > > Hi > > On Wed, Dec 4, 2013 at 1:40 AM, Paolo Bonzini wrote: > > Il 28/11/2013 05:27, Peter Crosthwaite ha scritto: > >>

Re: [Qemu-devel] [PATCH qom v1 1/1] qom/object.c: Split out object and class caches.

2013-12-09 Thread Peter Crosthwaite
Hi On Wed, Dec 4, 2013 at 1:40 AM, Paolo Bonzini wrote: > Il 28/11/2013 05:27, Peter Crosthwaite ha scritto: >> The object-cast and class-cast caches cannot be shared because class >> caching is conditional on the target type not being an interface and >> object caching is unconditional. Leads to

Re: [Qemu-devel] [PATCH qom v1 1/1] qom/object.c: Split out object and class caches.

2013-12-03 Thread Paolo Bonzini
Il 28/11/2013 05:27, Peter Crosthwaite ha scritto: > The object-cast and class-cast caches cannot be shared because class > caching is conditional on the target type not being an interface and > object caching is unconditional. Leads to a bug when a class cast > to an interface follows an object ca

[Qemu-devel] [PATCH qom v1 1/1] qom/object.c: Split out object and class caches.

2013-11-27 Thread Peter Crosthwaite
The object-cast and class-cast caches cannot be shared because class caching is conditional on the target type not being an interface and object caching is unconditional. Leads to a bug when a class cast to an interface follows an object cast to the same interface type: FooObject = FOO(obj); FooCl