File: qemu-bridge-helper-path.patch

package info (click to toggle)
qemu 1%3A10.1.0%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 416,048 kB
  • sloc: ansic: 4,763,284; pascal: 115,134; python: 105,712; asm: 68,689; sh: 53,146; makefile: 27,519; perl: 18,864; cpp: 11,442; xml: 3,629; objc: 2,877; yacc: 2,505; php: 1,299; tcl: 1,296; lex: 1,110; sql: 71; awk: 43; sed: 35; javascript: 7
file content (29 lines) | stat: -rw-r--r-- 1,244 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Subject: set proper path for qemu-bridge-helper binary in the docs
Bug-Debian: https://bugs.debian.org/1027447
From: Michael Tokarev <mjt@tls.msk.ru>
Date: Tue, 18 Apr 2023 17:29:17 +0300
Forwarded: no
Upstream-Status: this should be fixed in a more generic way, this fix is debian-specific

Upstream should propagate this path from the config option.
This is a dumb-n-quick fix.

diff --git a/qemu-options.hx b/qemu-options.hx
index b56f6b2fb2..fe138c83d3 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -3158,3 +3158,3 @@ SRST
     The default network helper executable is
-    ``/path/to/qemu-bridge-helper`` and the default bridge device is
+    ``/usr/lib/qemu/qemu-bridge-helper`` and the default bridge device is
     ``br0``.
@@ -3184,3 +3184,3 @@ SRST
         |qemu_system| linux.img -device virtio-net-pci,netdev=n1 \\
-                -netdev tap,id=n1,"helper=/path/to/qemu-bridge-helper"
+                -netdev tap,id=n1,"helper=/usr/lib/qemu/qemu-bridge-helper"
 
@@ -3191,3 +3191,3 @@ SRST
     attach it to the bridge. The default network helper executable is
-    ``/path/to/qemu-bridge-helper`` and the default bridge device is
+    ``/usr/lib/qemu/qemu-bridge-helper`` and the default bridge device is
     ``br0``.