Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp24608715rwd; Sun, 2 Jul 2023 01:02:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlEBL3/6GJYGFqu1M8GSqZFjkNcM1NWbtEueDDxD83bk7yCP5UwOX7Psf/dq1v7SGjBTYXW8 X-Received: by 2002:a17:903:1251:b0:1b3:c4c1:ec4f with SMTP id u17-20020a170903125100b001b3c4c1ec4fmr9207273plh.37.1688284931161; Sun, 02 Jul 2023 01:02:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688284931; cv=none; d=google.com; s=arc-20160816; b=ml2pAkeLBWS7ftqcV3MsfY86V1pDvtnx7Tdk4F3h3YVyXEGfGzKdCrWAB69heh1DdZ wZNsia4NEL/dtHfq5wx7ntjz0At7sYcxcQImaxV5eivyiJi8FNRgjiskr0LXzHaLPT5p j8uBQ7Ip2JWsW0t8HzN4Plbb7gBJuOvctwwLCBfpqWqmc/NG+YaTEStgAsY7HnrjnvnB v3+UpRnPtwVYBL+hFcSRNOoF/P4W4zpyfmdaprTzB4WHSAuVIA2nDF///y6KHOcezrzT sRKc97ooQagHScxh4qOc6C1PwADg+iNh1/t87HYmGnvReo1Kg68lVDC79RevxjzUOKlI Tfdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=RD1AHeV1SJQ3uPTC/rrtRPO2tWOTjqWX/W+UKHi4DlY=; fh=r7cOqRXuFwDUZ5CVAOSS+FNRkfrekRZEp0zZ83H5hoY=; b=IZc/O8jb27OCTLBeXGGLuPKiCMhZq5NIc2khDlR0sDyH0DLWdm09LwVChOubfrXYy/ 2LqijvoyZ56fTKCCrPZY7mRs15h8SegW3EVu9J7cL0oP2V1kc9tdja77i7qWEJPFZwbt fgbY+bj2voc7E9BaoFsj5fE1h4iMBHUVLvnIBAN8Uz7HJXe72k361w6C6ese3TSs6ipy lR3WbsE27aEb1zRbE2Bod90dcLYz5aqCk1uHxIXz35uvQO/6XuBwdMeiEZtsjAiYh6n7 rrydDHOV9SOGdUnagNvGIrUu+oQRgzgm0u0N2AHM4T6Ig+o/Am7knQvsfQsCXp/6iR83 Yn4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=cqx5Hqwq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y13-20020a17090322cd00b001b86671b3f1si6107637plg.190.2023.07.02.01.01.36; Sun, 02 Jul 2023 01:02:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=cqx5Hqwq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229657AbjGBHvb (ORCPT + 99 others); Sun, 2 Jul 2023 03:51:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbjGBHva (ORCPT ); Sun, 2 Jul 2023 03:51:30 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1B3C10E6 for ; Sun, 2 Jul 2023 00:51:05 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-2632336f75fso2364905a91.3 for ; Sun, 02 Jul 2023 00:51:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1688284265; x=1690876265; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RD1AHeV1SJQ3uPTC/rrtRPO2tWOTjqWX/W+UKHi4DlY=; b=cqx5HqwqBin+wcFKtE1M6H13NwW+7Gfdj4tzQmrNQvb1w1iLUMrLTNPfl5jpeejVnt xt2BP73lE6yldnsXPjOYZ+QF7awCdYI4c1UIj+hZ7Ekt4AhXhgzfVeqeNyZXdZOLflfv G1Fx7tE+ZOaQ7kWynDLTLYWLolbqRSbtjmSMAWkZIiWYMP33Mg2BJIH4vn7emaXxQwIb M1xSZ3zzjdjPVnQBJ2C0YHdlzJCKOgH+02Fwf68pzLQJArjfeuHmaO+oc3sXKKzpku8w n3vmIi7/E9PgDki8ydBhlxJv7lJLVnQ+F1wjg43gsn+q1L5z7ouLzOc6Cecap4QWTx8K D2jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688284265; x=1690876265; 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=RD1AHeV1SJQ3uPTC/rrtRPO2tWOTjqWX/W+UKHi4DlY=; b=PlchoVrkEak7OQ/DS6avIYzlQTHkjXYzvU39qjMKRw59JuKko22HdX/VQywf+TeQMT QBxedgfuoPJcoYjnRRIXO+paxNS8R6h1vb6SlUxz9FRwAIz85O9PKM921J1wFqwxu7xG jQY3vr/MxWKVrYfX4Ev9XpecXMsORl9IxA3k7oIRw9zJOzzB5dr90UCWizPBGB0QTkKa ++ywTwBtfO/zZPIs9nJMyl2uBd14LM6zrHNxnFbgsLY1x47rKancuq+D6NIRnp4lEXhx 5FpSite2mPgOKclyzgiyXY90Cd/4gZ03oEaDz1iTou8rHjI6lshuHsLNrF3WN6U1EknZ UyRA== X-Gm-Message-State: ABy/qLbmKneqVVJvhaLgy3c7r2NlT9OhKfWB6zwWwJHKicxWwz/fuRGM bsHQmnUZEo8G1qevGt/YV1GwXqi8qu9rSjO95iWs X-Received: by 2002:a17:90b:3105:b0:262:e598:6046 with SMTP id gc5-20020a17090b310500b00262e5986046mr7984826pjb.28.1688284265107; Sun, 02 Jul 2023 00:51:05 -0700 (PDT) MIME-Version: 1.0 References: <20230627113652.65283-1-maxime.coquelin@redhat.com> <20230627113652.65283-3-maxime.coquelin@redhat.com> In-Reply-To: <20230627113652.65283-3-maxime.coquelin@redhat.com> From: Yongji Xie Date: Sun, 2 Jul 2023 15:50:54 +0800 Message-ID: Subject: Re: [PATCH v1 2/2] vduse: enable Virtio-net device type To: Maxime Coquelin Cc: Jason Wang , "Michael S. Tsirkin" , David Marchand , Cindy Lu , linux-kernel , virtualization , Netdev , xuanzhuo@linux.alibaba.com, Eugenio Perez Martin Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 27, 2023 at 7:37=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. > > Signed-off-by: Maxime Coquelin > --- Reviewed-by: Xie Yongji Thanks, Yongji