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 EFDAAA0032; Fri, 24 Jun 2022 10:48:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D3AA42836; Fri, 24 Jun 2022 10:48:45 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2056.outbound.protection.outlook.com [40.107.223.56]) by mails.dpdk.org (Postfix) with ESMTP id 1C03442820 for ; Fri, 24 Jun 2022 10:48:37 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n2OeW2xYHs97qLYSTM2R2f45RkrkZmzXtoqLhcC6QfNSo6GQI4y42j3KM5314zbWuCLWwIn0+ijvzu5JlQpZTtHYsbqJoVVInJzqCBS3Iclo1IrmvUkmfdPJ8E8VL9K57CO+eNN0pljItLBnrlHEgaaTl19AdZZZl0ut5RjeKOc0JsCOuy2U4V6j1sQC2GMUNkrbdkbi6O8KxFK8+AieFpfMR68rmLEUT3T5aHEjNSjV5lBhs2R2O5LLP6LjwLFxiDUz8N8Dcn/gXiyQbJ92GisQTEAGtC/2i/0R6KI9wVUqU7t9vxpDbJbDL16RILgcNN9G8mbkXgYNXMEkCgRHDA== 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=Nrls0gY9KXKX5bGummeSVBjVCvvXi+IWEDAi0rbudKXeCvxQeduBfYDHpLZrjst9GgXRH2HBymI9Aq8A5gvJg6TtNSg4g6qpfdslFmbEfMVAUijJOp211wL4IZ1YyOgDWRmct5ySbP7TTpgH0EcgQYRvz+0sWWACOdvfQiPAjqVBFM1krERwBxd0YGRCaLkMl4j6BjhSWsmi6wM9IzFa8+QF3qjz1MDke7fh3hGAB10RKxIqsXkSJuQceZIBM9Cx4pKkf3O2BJB/gBWhA3kPMtu5J5jyYoaNKv45aOAPQ7v793iTRtBBSRDFZhEXhSpyIlxYCsyyzUCmTLbsW8I1iQ== 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=PAPtv8+qEXAmTndgU3YW94A/ceYbvxB+NtcQw1OTDEMmW8Od8SUXIYkS2lwSQdjvQg01ZdnFn6YCt6f2FdXZnPi7WIs0z4TRZrAR8pAShliYuWgO1yNIDjrY6RRAd/+wGtq+hJKawfbJE1un9Fdlj4kEsr0YVnTTAL2ePOw9w8yeSLJq1LXdmBRA+6uWt/oy/5H1FPZUaoZ/75Z2ir6Q86jR+o10FLwx7q8FyG75j690cU/z1iB7h2I1d78VJJcTmcaxhsAZijvObwmw5MCxqZHutrEDJW2yg/o1W0wJp83TTknA/tBoBxwleOtB8+Cj9eulVUOmJkpo54peLDcSlg== Received: from DS7PR06CA0012.namprd06.prod.outlook.com (2603:10b6:8:2a::22) by DM6PR12MB3353.namprd12.prod.outlook.com (2603:10b6:5:3d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.19; Fri, 24 Jun 2022 08:48:34 +0000 Received: from DM6NAM11FT048.eop-nam11.prod.protection.outlook.com (2603:10b6:8:2a:cafe::ad) by DS7PR06CA0012.outlook.office365.com (2603:10b6:8:2a::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 08:48:34 +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 DM6NAM11FT048.mail.protection.outlook.com (10.13.173.114) 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 08:48:34 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by DRHQMAIL101.nvidia.com (10.27.9.10) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Fri, 24 Jun 2022 08:48:33 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) by rnnvmail204.nvidia.com (10.129.68.6) 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 01:48:32 -0700 Received: from nvidia.com (10.127.8.11) by mail.nvidia.com (10.129.68.9) with Microsoft SMTP Server id 15.2.986.26 via Frontend Transport; Fri, 24 Jun 2022 01:48:31 -0700 From: Dmitry Kozlyuk To: CC: Maxime Coquelin , Chenbo Xia Subject: [PATCH v3 5/5] doc: add note about running virtio-legacy as non-root Date: Fri, 24 Jun 2022 11:48:17 +0300 Message-ID: <20220624084817.63145-6-dkozlyuk@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220624084817.63145-1-dkozlyuk@nvidia.com> References: <20220617112508.3823291-1-dkozlyuk@nvidia.com> <20220624084817.63145-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: eac6b3b7-bf7c-4cf3-980b-08da55be5289 X-MS-TrafficTypeDiagnostic: DM6PR12MB3353:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bRdD8c2J+ctnrCGVzzXXlsyWwkuPlk6++4mviTz2ciSbLffWgY34GifvGHJrOAFa/yln+vIuJghulzsns5arPNx4NiAJyd+13kUznV8upJSKCKmTY7mMqJ/eo16jGNeuDG+uNBdbGqARnj35UyMeR+8afrrTuGW0FY0kJzqQkPaq7LFUjjiH9LNxc+8M/AofA9Sll4rQeletHGjwqCXBb7CDdXt5756tJ+Q0WxC3EY9QbCJYAxArOe7Ui8QwudPbGZpOj43Mnt6633ZoZbiH4YthVkrS4HaVXjD5onUQdnRZRLp3Nir8Syg8tTZHwIPOa/iJ3TECfrYKtyfm+0xZlKSJLg3Qyp59kqOcI6vVWBIEoSrkq7pS+Dwvmw1/lx9roaMQf5by5CLaesOKAsP8nlki/IyzHBpWEiYJDMSfLn12pVOnesCW3oUYBjv2bKpH75jBfaLtg6wAxwbtveQbE9YRurblkaMzEk/itNiBmCQ33/zqs+SlyIAne/xdfgUgs+FWlPXRI3crjjYNVxC8hTV+jE+LPreC9kC6jE3GAkwwZ28YoLEcY7rUR8NDkLzg0qI88d1Y/vY+1kCjY4D6U26A9fgwsYQPuxaH4vcQAWV9/b90F+DAimIhScCTYLK+NZo4QEXBrehr/SapOLsXo94jTnRczcs3wvkWMwgTCMRa+4okz2bF8rrU7+C6+rfBswdOs5uG4YFQa6Q7OAxX2q3hMINX1ka/9IRB1eOvj5AyQBcD4KXP9JiTdfPEnmEsD18haioUNZxAOlIrpsn/Q37+gbJdYtFyH4vfGkfbJ1N02gx9ASXNU78UWX4/MlpA2BUXH5GSZPrZx2+DK1Tf4Q== 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)(39860400002)(396003)(376002)(346002)(136003)(46966006)(40470700004)(36840700001)(336012)(8676002)(70206006)(55016003)(70586007)(4326008)(47076005)(426003)(8936002)(86362001)(40480700001)(7696005)(356005)(186003)(41300700001)(82740400003)(2616005)(478600001)(1076003)(6916009)(6286002)(4744005)(81166007)(40460700003)(36756003)(316002)(83380400001)(2906002)(36860700001)(82310400005)(6666004)(54906003)(5660300002)(26005)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2022 08:48:34.2149 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eac6b3b7-bf7c-4cf3-980b-08da55be5289 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: DM6NAM11FT048.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3353 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