Re: [Qemu-devel] [PATCH v5 1/7] object: add object_get_canonical_basename()

2014-03-03 Thread Stefan Hajnoczi
On Fri, Feb 28, 2014 at 06:15:55PM +0100, Andreas Färber wrote: > Am 28.02.2014 16:18, schrieb Stefan Hajnoczi: > > It is often useful to find an object's child property name. Also use > > this new function to simplify the implementation of > > object_get_canonical_path(). > > > > Signed-off-by:

Re: [Qemu-devel] [PATCH v5 1/7] object: add object_get_canonical_basename()

2014-02-28 Thread Igor Mammedov
On Fri, 28 Feb 2014 18:15:55 +0100 Andreas Färber wrote: > Am 28.02.2014 16:18, schrieb Stefan Hajnoczi: > > It is often useful to find an object's child property name. Also use > > this new function to simplify the implementation of > > object_get_canonical_path(). > > > > Signed-off-by: Stefa

Re: [Qemu-devel] [PATCH v5 1/7] object: add object_get_canonical_basename()

2014-02-28 Thread Andreas Färber
Am 28.02.2014 16:18, schrieb Stefan Hajnoczi: > It is often useful to find an object's child property name. Also use > this new function to simplify the implementation of > object_get_canonical_path(). > > Signed-off-by: Stefan Hajnoczi > --- > include/qom/object.h | 8 > qom/object.c

[Qemu-devel] [PATCH v5 1/7] object: add object_get_canonical_basename()

2014-02-28 Thread Stefan Hajnoczi
It is often useful to find an object's child property name. Also use this new function to simplify the implementation of object_get_canonical_path(). Signed-off-by: Stefan Hajnoczi --- include/qom/object.h | 8 qom/object.c | 53 ++--