Re: [Qemu-devel] [PATCH 10/16] qom: release previous object when setting

2012-07-16 Thread Corey Minyard
On 07/16/2012 01:24 AM, Paolo Bonzini wrote: Il 15/07/2012 22:25, miny...@acm.org ha scritto: From: Corey Minyard When setting an object, if you don't release the previous object that was there, it may become unusable. This change allows a chardev to be removed from one object's properties an

Re: [Qemu-devel] [PATCH 10/16] qom: release previous object when setting

2012-07-15 Thread Paolo Bonzini
Il 15/07/2012 22:25, miny...@acm.org ha scritto: > From: Corey Minyard > > When setting an object, if you don't release the previous object > that was there, it may become unusable. This change allows a > chardev to be removed from one object's properties and added to > another's. > --- > qom/o

[Qemu-devel] [PATCH 10/16] qom: release previous object when setting

2012-07-15 Thread minyard
From: Corey Minyard When setting an object, if you don't release the previous object that was there, it may become unusable. This change allows a chardev to be removed from one object's properties and added to another's. --- qom/object.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(