From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D3317A0032; Fri, 24 Jun 2022 15:20:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E4A1C4280E; Fri, 24 Jun 2022 15:20:18 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2076.outbound.protection.outlook.com [40.107.102.76]) by mails.dpdk.org (Postfix) with ESMTP id 689E942802 for ; Fri, 24 Jun 2022 15:20:10 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KAC0iUgmzVa+gGLv7tBCCFjllvTURrBdDYvVmAruf6sIWIhBUxsNthWbAfIpgNIzPPBSo8G1Wcw8Vi5nYQXnoT52Vr/TGhpLf7hhCF66WO4JKDMQ0cFttbz8Gou+WGbLGoqSXzJN7S8OX/IgOwTx/NCEClMl3C5a9BgxiWXzxnqAJbgtEwn8FSihpiIUUXL5ZCLS65k3sJ5j+Kj2V6y+bNotoPuDrguulWJUfCdVHPEncbTKPdFO77Cnk7HsHDhrcDYXuvFRgm5zFHWWafevKXZh1XEsflXV27Wm9XXafPwnrELIcp9kgQVOe1IzeMcmKOdqpiF+J/I/JoSM/uQItg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UKUaZu/6DvXj+MF5F6xW6lqoDOBA8isfd67QBw8Ef9E=; b=OMWhjVtPv/yeqtc6AGa6MsOeScEFa9HZDUY0O+HmIaSqQjmTXw7ABMIlY9qsLMeToGeOZ0zfXx/qqXYc5wT934TqaF5OAITplKLlA5mTaK63qJuaa8rGOQ2k39BEXz9GsE3z8HP/r7T4yqeP2lG15o2Ww4W2CuqyTD6waUanks+ZSTz2v0pOJYsjIuxGOhYCTM4ZyPXOakAZSMI9XwUduT4rqHF6TyfMs3OdSwSMIVW/YxwApx6rijoSdSHIx+RDtrUP0fUitfdkj++ZeynZtPdYnZe5uw4cYL9OaisCGtzVCP5l2102L5khH05W8LBzbYvJr/nSNXoxylVAQq0LfA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.234) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UKUaZu/6DvXj+MF5F6xW6lqoDOBA8isfd67QBw8Ef9E=; b=LSDPI4E+Sjeg1nk4n+yrn62PsjNjDjQH3vp/4c9sustXN9y8dAbAtYRQr2ft7ECBA8vaaP4a0WzlSa2IDJweqfAYYTSPONIEZK+DL/xZBu31p5njz0hmmO/S+GMv3LFFakxgV5o3mgyUCwGDQd0nhiTbK3HdocjcedY0wbGm4PnNUoF81x1pV5tS8fQr3wBhMUe9FvMgy9qnaaJG+/c8YKysyMimHkusMVgbxXdHrnfUebSy62YVay6vJgsqkzu6hEdiwCIIg20pOtBR9K6TARuj8nI/H0J+qQFar+U3/SIUTDS8jV/iJBLi76MGI+MMD0Ue43zupq7nK4o9ss4jjA== Received: from BN9PR03CA0677.namprd03.prod.outlook.com (2603:10b6:408:10e::22) by MN2PR12MB4989.namprd12.prod.outlook.com (2603:10b6:208:38::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.18; Fri, 24 Jun 2022 13:20:09 +0000 Received: from BN8NAM11FT004.eop-nam11.prod.protection.outlook.com (2603:10b6:408:10e:cafe::ab) by BN9PR03CA0677.outlook.office365.com (2603:10b6:408:10e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.15 via Frontend Transport; Fri, 24 Jun 2022 13:20:08 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.234) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.234 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.234; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.234) by BN8NAM11FT004.mail.protection.outlook.com (10.13.176.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5373.15 via Frontend Transport; Fri, 24 Jun 2022 13:20:08 +0000 Received: from rnnvmail205.nvidia.com (10.129.68.10) by DRHQMAIL101.nvidia.com (10.27.9.10) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Fri, 24 Jun 2022 13:20:08 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail205.nvidia.com (10.129.68.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.26; Fri, 24 Jun 2022 06:20:07 -0700 Received: from nvidia.com (10.127.8.11) by mail.nvidia.com (10.129.68.6) with Microsoft SMTP Server id 15.2.986.26 via Frontend Transport; Fri, 24 Jun 2022 06:20:06 -0700 From: Dmitry Kozlyuk To: CC: Maxime Coquelin , Chenbo Xia Subject: [PATCH v4 5/5] doc: add note about running virtio-legacy as non-root Date: Fri, 24 Jun 2022 16:19:56 +0300 Message-ID: <20220624131956.75160-6-dkozlyuk@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220624131956.75160-1-dkozlyuk@nvidia.com> References: <20220624084817.63145-1-dkozlyuk@nvidia.com> <20220624131956.75160-1-dkozlyuk@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b413735a-3d99-478f-40fa-08da55e442c5 X-MS-TrafficTypeDiagnostic: MN2PR12MB4989:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TRNIe/Xlqe8msiH6N6zsk3pFiY/UWG1QTAhiBSLOVTXwT40XJ1BcfkQLJ3hRSZe04yAUiaDfmi9iiq9s8Q2QoDiu2cDalnuCTKQ5DKl42bhNsEoTDZsTwgsNcIT6sw4lNRuQqC8x/kOBSfwH4XqmuYpDsjO4OYPE33k/JuvmxwJ8Y4yMyuS9qlDgEe26eOly0U5MubG97fokgsgyGXd/6rZRlTT7ZwyZ9Gd3UQQ4Csheims7zyXQJsiwIm/vcfX+issCEiEx2074IeCg+e0WHcmQJ8vcK6wShFnLzVHrq7HYcAdjegY764HqTrBLjTrshTjH+hoH4lldcNo7Mc3sKodKm4Rx5d8lU0WNYOEPoYa+T3i5EJb9TjPS/nO6E9AainI33bzHInyZzajRXOqUvnsNFXwIj3zospVtX9r7vnv/e19Ew8tMROTiSQVGzDPe5suu1TG10M9O0LYfhfVM1odcgC4BpZECpr08ogg4Irvtx9QUYWJUzMmCnKi/Xk8tmVSxKkpDUuovlrhjzD4de/Mj8KQp0EsyxjL/1dOV3fF/PxR4wbZgAW7eT9z+T+BVSiOTCHauaAy+Kn9s5jDwKDu3PGEOEg5tt2UgilsJs1lsngVJM7yXU2qi6o+FVlo0jxZWVAvg/73iuGOArymAKHt1Fr5s0Y0UDJ9bRS8gHKNW4hEb7VaNnzjQ8W78Mx3V6yjlDJEQ3xcmW6flYBoRNyeYv4XbgiXruC3XZU+RE0f296Tkr59Sl9V0q8Cr6crXhVO6wfPnsVmIXW1kkAUazBphuiBDFw9Tb+NmVwtoY7huOW8hfGfDFtbC2AtKEnIwED9c77asiAypc6P1XbUZtw== X-Forefront-Antispam-Report: CIP:12.22.5.234; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(396003)(346002)(39860400002)(376002)(136003)(40470700004)(36840700001)(46966006)(36860700001)(86362001)(8676002)(2906002)(40460700003)(82740400003)(70586007)(5660300002)(70206006)(41300700001)(82310400005)(4326008)(4744005)(6286002)(54906003)(7696005)(356005)(26005)(6916009)(1076003)(316002)(186003)(426003)(2616005)(336012)(83380400001)(40480700001)(6666004)(81166007)(55016003)(47076005)(36756003)(478600001)(8936002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2022 13:20:08.5912 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b413735a-3d99-478f-40fa-08da55e442c5 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.234]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT004.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4989 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The requirement of SYS_ADMIN capability in legacy virtio mode was missing. Add it to the driver-specific page. Signed-off-by: Dmitry Kozlyuk --- doc/guides/nics/virtio.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/nics/virtio.rst b/doc/guides/nics/virtio.rst index 7c0ae2b3af..0e552b2701 100644 --- a/doc/guides/nics/virtio.rst +++ b/doc/guides/nics/virtio.rst @@ -86,6 +86,9 @@ The following prerequisites apply: * Linux kernel with KVM module; vhost module loaded and ioeventfd supported. Qemu standard backend without vhost support isn't tested, and probably isn't supported. +* When using legacy interface, ``SYS_RAWIO`` capability is required + for ``iopl()`` call to enable access to PCI IO ports. + Virtio with kni vhost Back End ------------------------------ -- 2.25.1