From nobody Sat Nov 15 11:12:57 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1753354935; cv=none; d=zohomail.com; s=zohoarc; b=hQAc3tigTT1cUa50chfq5x55KAsvjKPR7NEHzMDPgMBOsePZ1J3s/4AhBKgeITlyOIB143+p9byIzCLwhbAm049G6LNop34TgJ0+M4tqaoEDJXfKactw9dxl8h3bgj0E9aDS3dSkbAj2rEtfSeGYr+pyEIYv92aK0ysy6gZw16A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1753354935; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=Ijkn9pfZaP3ygSP4S1IDLeY5/FVKNxWO7uVgQKZFQBw=; b=E2OETyQ5cwOlNBXSo7k//JS5CnFa3k4uEEazxttDfNX4AirQaKLAJEJBp+84qUKXcjSvvEfv4I+kYoZ9RruL1hWkLr1je+IPZMdfNpsDdsCCMMxpBLC4aaISXKFir74scqCu7N+OB4irw9WQRaZs8KLs5jsjgrkdVD0Z+8RNrxw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 175335493495488.85569120452624; Thu, 24 Jul 2025 04:02:14 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uetfx-0007Jc-Fg; Thu, 24 Jul 2025 06:59:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uetfu-0007De-MQ for qemu-devel@nongnu.org; Thu, 24 Jul 2025 06:59:46 -0400 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uetfr-0007xA-Su for qemu-devel@nongnu.org; Thu, 24 Jul 2025 06:59:46 -0400 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-60c60f7eeaaso1562195a12.0 for ; Thu, 24 Jul 2025 03:59:43 -0700 (PDT) Received: from draig.lan ([185.126.160.19]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-af47f44f1absm95829366b.65.2025.07.24.03.59.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jul 2025 03:59:40 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 1CF875F89A; Thu, 24 Jul 2025 11:59:40 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1753354782; x=1753959582; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ijkn9pfZaP3ygSP4S1IDLeY5/FVKNxWO7uVgQKZFQBw=; b=alcjktwU4hWhGYBnCa7GFK8hPfftxOgqI2pvVRzq6vYS09H9J3NijeSasJEK/RUUqA Cn8DUhU+WpmwWvVVoNPS6LJx/VcIRnFzgYFY0D6mHPl4g99ee1eTexIEMCYcKZ3iWEyI oNH9zHtb9e4cnv303Y3UYdOaApmVHt9P2laJGlbzOoYp78J5Y9aN4UpSNeTRh/ldMicr OTRQi2WjV/JqGyHGpn6nCmX+1gZ3w922js0F/aSKqCp6llssBNRTtRNpIXT5bTfsbbN2 s00H/jU+G9IpiagKfGkv0LSLsjsi8RuuHt8TE063Fu8xa1DemhHS0Q5oKFgiiTyAcXeZ h4Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753354782; x=1753959582; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ijkn9pfZaP3ygSP4S1IDLeY5/FVKNxWO7uVgQKZFQBw=; b=TDZ1UUSf2HttkdtnnTc0L/e+8wBFevqrUrc6lBj7kWJzUzoQuX/0locoexLoAJ4TJw 3xUHKSXn4qbDLiJFcZkHmHhNcuzabjlAvOqx3iPNnHB2QjrkEriXj9tpRBEXzqKK0lFf KM6iClGvMbhlsvjnRYHhrP4EBLl71GNuWbuqLc7M0/3Ol65VAUPyikcPVQZvFEe8ymXg 4pXDpHSWpQFpkxW+xDBKuaPo5yPQQCkBoIyL3o6z4x2YpVtaXnA/3D5+MtkmSSl1Ch7j ViqCanXsui1pFhk12CLomkGyriIqku/v5bUhmdMHFiwkpDNyUDq69I+GoNKracpK8V1x bxVA== X-Gm-Message-State: AOJu0Yy0yam0NO3kZsreXZYj26UHaorcRvet+ccLo3SNbfuq7SJ5b7fN dy1prqNTq95GeAYruFcO3vdYBlLvMajfkjV3jbKU7B6KhVjg4sGsCs7sHOBtL6j30t4= X-Gm-Gg: ASbGncuJRRvut9vhWm32pnXxrA2FxURJQTXDPaN7eHdhT6nAldzbjgUqiwSx5QDAJqy Mld8YtfMJt1VeLo7WICtueTbjROnj7pLfAz4qdkxtLEpFdeTW73Q7XyFrYlxwIk1Q8sGq0ddWY4 KWPluFBMHk4js+LN819cWEHdP3aiKc/YsFkdfxeyQFt2sORo8MMAyhX2PSqz47GBUmoAVqzdVPa dPvngQREI7cgBxW3I9BPVrJ1/nljOO1D6d1ZJutIm7/aIoFk0iwHbFauN4ygdXYZ2c6nfOD5cFV UqumUg/rzyk2XP+8HC+a73xDonx+dEE9jwF5FeJrvgq+Zm2oKoHme3UOeztfNZYi2ypRRVn5HQd ffyjF0GO9UhAmr9QH0o98PDP0XEX3TYE6Yg== X-Google-Smtp-Source: AGHT+IGEuRTnqeGpBU7JUIvkB4jwuYb3REEMWYtxG+cc7YuXFN6qU0diwya5c9Eo1GECqLD6NF66UA== X-Received: by 2002:a17:907:97d3:b0:ae3:bb4a:91fc with SMTP id a640c23a62f3a-af2f6b021a7mr598251266b.22.1753354782258; Thu, 24 Jul 2025 03:59:42 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Paolo Bonzini , Thomas Huth Subject: [PATCH for 10.1 02/13] docs/system: reword the TAP notes to remove tarball ref Date: Thu, 24 Jul 2025 11:59:28 +0100 Message-ID: <20250724105939.2393230-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250724105939.2393230-1-alex.bennee@linaro.org> References: <20250724105939.2393230-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::530; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x530.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1753354936897116600 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 Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Manos Pitsidianakis --- docs/system/devices/net.rst | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/docs/system/devices/net.rst b/docs/system/devices/net.rst index 4d787c3aeb0..7d76fe88c45 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 ^^^^^^^^^^ =20 -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. =20 See :ref:`sec_005finvocation` to have examples of command lines using the TAP network interfaces. --=20 2.47.2