qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 4/4] net: Use bundle mechanism


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 4/4] net: Use bundle mechanism
Date: Sun, 27 Feb 2022 17:23:54 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1

On 26/2/22 13:45, Akihiko Odaki wrote:
Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
---
  configure         | 1 +
  include/net/net.h | 2 +-
  meson.build       | 1 +
  net/tap.c         | 6 +++++-
  qemu-options.hx   | 4 ++--
  5 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/net/tap.c b/net/tap.c
index c5cbeaa7a2b..3225d91ae00 100644
--- a/net/tap.c
+++ b/net/tap.c
@@ -508,7 +508,11 @@ static int net_bridge_run_helper(const char *helper, const 
char *bridge,
      sigprocmask(SIG_BLOCK, &mask, &oldmask);
if (!helper) {
-        helper = default_helper = get_relocated_path(DEFAULT_BRIDGE_HELPER);
+        helper = default_helper = find_bundle(DEFAULT_BUNDLE_BRIDGE_HELPER);
+        if (!helper) {
+            error_setg(errp, "birdge helper not found");

Typo "bridge".

+            return -1;
+        }
      }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]