Re: [PULL 42/92] cutils: introduce get_relocated_path

2020-11-02 Thread Peter Maydell
On Mon, 2 Nov 2020 at 18:05, Peter Maydell wrote: > > On Thu, 24 Sep 2020 at 10:48, Paolo Bonzini wrote: > > > > Add the function that will compute a relocated version of the > > directories in CONFIG_QEMU_*DIR and CONFIG_QEMU_*PATH. > > > > Signed-off-by: Paolo Bonzini > > Hi; Coverity (CID 143

Re: [PULL 42/92] cutils: introduce get_relocated_path

2020-11-02 Thread Peter Maydell
On Thu, 24 Sep 2020 at 10:48, Paolo Bonzini wrote: > > Add the function that will compute a relocated version of the > directories in CONFIG_QEMU_*DIR and CONFIG_QEMU_*PATH. > > Signed-off-by: Paolo Bonzini Hi; Coverity (CID 1432882) points out a bug in this code: > include/qemu/cutils.h | 12

[PULL 42/92] cutils: introduce get_relocated_path

2020-09-24 Thread Paolo Bonzini
Add the function that will compute a relocated version of the directories in CONFIG_QEMU_*DIR and CONFIG_QEMU_*PATH. Signed-off-by: Paolo Bonzini --- include/qemu/cutils.h | 12 + meson.build | 4 +-- util/cutils.c | 61 +++ 3 fi