[PATCH] qom: remove index from object_resolve_abs_path()

2020-05-09 Thread Masahiro Yamada
You can advance 'parts' to track the current path fragment. The 'index' parameter is unneeded. Signed-off-by: Masahiro Yamada --- qom/object.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/qom/object.c b/qom/object.c index aa8a3f24e6..a3ee968b12 100644 --

Re: [PATCH] qom: remove index from object_resolve_abs_path()

2020-05-21 Thread Paolo Bonzini
On 10/05/20 03:32, Masahiro Yamada wrote: > You can advance 'parts' to track the current path fragment. > The 'index' parameter is unneeded. > > Signed-off-by: Masahiro Yamada > --- > > qom/object.c | 17 - > 1 file changed, 8 insertions(+), 9 deletions(-) > > diff --git a/qom/