Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp8071999rdb; Thu, 4 Jan 2024 18:48:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IEG2UK5V4PZOwaJzwDsJVbwyDbR2UpLzC/F6a+p2lbiDgfQgBIIFN7IPH0/HKbyh+tC15y1 X-Received: by 2002:a17:90b:f03:b0:28c:ec39:8e40 with SMTP id br3-20020a17090b0f0300b0028cec398e40mr1190539pjb.80.1704422881212; Thu, 04 Jan 2024 18:48:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704422881; cv=none; d=google.com; s=arc-20160816; b=cexQOYfatztch8pDuK9zc9Yw2ks9QZW7TcdL+GGoams35aptZta8pgH243bccLEZah oaXqxEQxiZvsWFk9IUw+pApOESAld1M42Q+81VHfQF+TNWA1tmLFvEFcn7pH+5gvFnlg U3cVeGzEjp/uWzEIvTpgyt2BUPsNH+Pqg5EUuFmjYY2IZ5Rg7ym0blqVEt0CcN6ewerB KQSnaC+Wk+pf3eHsf/etGzx8ElDDSTNk/m9kXDHJ8uYZu+cnseHi3Ud071WICbZQ4Cy2 VeU49M8z4Mw9VCFUqt/qr811UvP2+4tO6LbLcNUZJ6kM6e4xPoCDrsaH/wAyFjKFPdW0 eaEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=cj9qM4WWk3dS+keeMX239nQGN9ivC8XXFg/nyP/Nxfw=; fh=VODvV/0g17yvmophHw0TONBODxBGR5Rp8bS9J3ZFcGw=; b=H9Nlab3Kx9SGOOJ8ek9YbVSQYFr4BX8SZdZ8eeZRBSVMveP8Ccx5FonU8SPn8hh9QS 0D+eQ7Ao69T8iYEl9JCD8dzMwWrohCzFatuwWQC3egCnLLw+GXldU9V0eXk7EsN3U26j aKMn18XJEsDEyJSe7BQ1PdZIepTxlZeoQ5JyetVyuXafSmbgA7jWmFby1iQcJAtIIUTR eYFCu/6N+dKO1D8B2cPrZI+o+dx+drg4gAmfLKFutxEOfA6m5eVDKpUEqPJ/4N+O8i8w DxBSJoWyEUudUm8CCIjmb715gGh5NMKa8C0bzG+FsG3FSKG884JI9pyNwcmCq4V6uSK8 6Stw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=DqwQ2t6v; spf=pass (google.com: domain of linux-kernel+bounces-17437-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17437-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p16-20020a17090adf9000b0028c4028a799si68706pjv.111.2024.01.04.18.48.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 18:48:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17437-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=DqwQ2t6v; spf=pass (google.com: domain of linux-kernel+bounces-17437-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17437-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DE1D0287429 for ; Fri, 5 Jan 2024 02:48:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0EC4B6130; Fri, 5 Jan 2024 02:47:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="DqwQ2t6v" X-Original-To: linux-kernel@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CCDDF5662 for ; Fri, 5 Jan 2024 02:47:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1704422831; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cj9qM4WWk3dS+keeMX239nQGN9ivC8XXFg/nyP/Nxfw=; b=DqwQ2t6vYbiv/ECR6CzlcsVbqa5+2sGPZkx1+exTFOWXRkbQt5W+x5ONV1FK6dK5fP9u6q 8hRnFnvKWcRvWGjOVEzktqmBXqmekYsrq4cmPkOiWcAApR+I/AtI/gp3SAkGpLBuVK5OAz Tyr8eP5biNzA4OOpsp3+DFfGDXX6GuE= Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-436-JdSqS91PNGqxJZ5GXrbHhw-1; Thu, 04 Jan 2024 21:47:09 -0500 X-MC-Unique: JdSqS91PNGqxJZ5GXrbHhw-1 Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-28cca9bda41so838052a91.3 for ; Thu, 04 Jan 2024 18:47:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704422828; x=1705027628; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cj9qM4WWk3dS+keeMX239nQGN9ivC8XXFg/nyP/Nxfw=; b=Q+vJbDQfxqBGeRia9QqT7FWGVNOIEws4AmVO0kIBfaw+NvwCD3QlkNJ7J2L1Dgv338 1io2lksYGWggc15/0Ry9ePb/GnocAMGGgf84adM6NJujapfyPmMvFCotiRKG0Vmj+24+ 4+foVwkfLOhmnjsXAO6rZJbocdUzwAM9DUTQ2oQIr6IlpKORGZ4M8pLLUnpflA24H1lx /11nHT9QE0kp5gQ1DVvZP6k8NvLD1/w4lYtpbA5txfChUNVqXiCoyYCPIjOPMBjI/gm4 u/ox6gAT7xk9UrPBCQ/I2XOb71okLq6UEwAC9PbquK7q5uZ90YTQFMSHHXE4UG3YWmFJ YNiA== X-Gm-Message-State: AOJu0Yx7jQUiYNTbsqVE99StzNtJQWR9w/Ynq93gwDLDLnxfr0okdpk6 CSugpLMW/3Fi4z/VIICCJ5OL3T27WFhjUzFCagVDuXFqtwc/RVaajQ2yoJrN7crp84qKYHfCoZ6 wffcURt6xUTgu6eQfAgTo5OdBa2uoH4pIpALxkDa6TNQ63zlC X-Received: by 2002:a17:90a:6bc1:b0:28b:c057:4e01 with SMTP id w59-20020a17090a6bc100b0028bc0574e01mr1152178pjj.90.1704422828614; Thu, 04 Jan 2024 18:47:08 -0800 (PST) X-Received: by 2002:a17:90a:6bc1:b0:28b:c057:4e01 with SMTP id w59-20020a17090a6bc100b0028bc0574e01mr1152171pjj.90.1704422828347; Thu, 04 Jan 2024 18:47:08 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240104153753.2931026-1-maxime.coquelin@redhat.com> <20240104153753.2931026-4-maxime.coquelin@redhat.com> In-Reply-To: <20240104153753.2931026-4-maxime.coquelin@redhat.com> From: Jason Wang Date: Fri, 5 Jan 2024 10:46:56 +0800 Message-ID: Subject: Re: [PATCH v6 3/3] vduse: enable Virtio-net device type To: Maxime Coquelin Cc: mst@redhat.com, xuanzhuo@linux.alibaba.com, xieyongji@bytedance.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, david.marchand@redhat.com, lulu@redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jan 4, 2024 at 11:38=E2=80=AFPM Maxime Coquelin wrote: > > This patch adds Virtio-net device type to the supported > devices types. > > Initialization fails if the device does not support > VIRTIO_F_VERSION_1 feature, in order to guarantee the > configuration space is read-only. It also fails with > -EPERM if the CAP_NET_ADMIN is missing. > > Signed-off-by: Maxime Coquelin > --- Acked-by: Jason Wang Thanks