diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2025-07-25 16:45:05 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2025-07-26 23:04:35 +0100 |
commit | 9b6656668f01144288e1190980e1689394cc236c (patch) | |
tree | 54821878e2ada6ba40bda7db279f3804b32c73aa | |
parent | 8d6c7de1cc71207ccc047583df0c84363a5da16b (diff) | |
download | qemu-9b6656668f01144288e1190980e1689394cc236c.zip qemu-9b6656668f01144288e1190980e1689394cc236c.tar.gz qemu-9b6656668f01144288e1190980e1689394cc236c.tar.bz2 |
docs/system: reword the TAP notes to remove tarball ref
We don't ship the tarball and users should generally look to the
distribution specific packaging.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/560
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-ID: <20250725154517.3523095-3-alex.bennee@linaro.org>
-rw-r--r-- | docs/system/devices/net.rst | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/docs/system/devices/net.rst b/docs/system/devices/net.rst index 4d787c3..7d76fe8 100644 --- a/docs/system/devices/net.rst +++ b/docs/system/devices/net.rst @@ -21,11 +21,17 @@ configure it as if it was a real ethernet card. Linux host ^^^^^^^^^^ -As an example, you can download the ``linux-test-xxx.tar.gz`` archive -and copy the script ``qemu-ifup`` in ``/etc`` and configure properly -``sudo`` so that the command ``ifconfig`` contained in ``qemu-ifup`` can -be executed as root. You must verify that your host kernel supports the -TAP network interfaces: the device ``/dev/net/tun`` must be present. +A distribution will generally provide specific helper scripts when it +packages QEMU. By default these are found at ``/etc/qemu-ifup`` and +``/etc/qemu-ifdown`` and are called appropriately when QEMU wants to +change the network state. + +If QEMU is being run as a non-privileged user you may need properly +configure ``sudo`` so that network commands in the scripts can be +executed as root. + +You must verify that your host kernel supports the TAP network +interfaces: the device ``/dev/net/tun`` must be present. See :ref:`sec_005finvocation` to have examples of command lines using the TAP network interfaces. |