Re: [PATCH 07/13] net: relocate paths to helpers and scripts

2020-09-02 Thread Paolo Bonzini
On 02/09/20 10:24, Philippe Mathieu-Daudé wrote: >> -helper = bridge->has_helper ? bridge->helper : DEFAULT_BRIDGE_HELPER; >> +if (!bridge->has_helper) { >> +helper = default_helper = get_relocated_path(DEFAULT_BRIDGE_HELPER); >> +} else { >> +helper = bridge->helper; >>

Re: [PATCH 07/13] net: relocate paths to helpers and scripts

2020-09-02 Thread Philippe Mathieu-Daudé
On 9/1/20 8:20 AM, Paolo Bonzini wrote: > Signed-off-by: Paolo Bonzini > --- > include/net/net.h | 4 ++-- > net/tap.c | 28 +--- > 2 files changed, 23 insertions(+), 9 deletions(-) > > diff --git a/include/net/net.h b/include/net/net.h > index e7ef42d62b..897b2d

[PATCH 07/13] net: relocate paths to helpers and scripts

2020-08-31 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- include/net/net.h | 4 ++-- net/tap.c | 28 +--- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/include/net/net.h b/include/net/net.h index e7ef42d62b..897b2d7595 100644 --- a/include/net/net.h +++ b/include/net/ne