From nobody Sun Sep 7 23:51:01 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=none dis=none) header.from=yandex-team.ru ARC-Seal: i=1; a=rsa-sha256; t=1756472390; cv=none; d=zohomail.com; s=zohoarc; b=ekPEQ4HTW7310DI2Dz5b2Y8dTsTezIez8PL5+qvNThyspE/GmpiedhZoFZwYVNv+wtJCKboqrnmBP+BViejyuMG3IXi7YoYQ5eRfuYceHdzEzyzT8BEjKYY99Ib8QFwRQBp2FbP/Ex91GRap1HtdidsEHiv3iEJRjnYkRSbvR2Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1756472390; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=fSURjKxp8aN/QzOarNoSx4w8f8QS2PoH+Lpg9ZtltA8=; b=hRhV9s2KxVv69EHw11jlcGK+xBv6vCLcFu4V0C1ufLDbce/PvP0z77eLRtAb9h5SgVFx2IDwm2n6B790W8RP9YGVekaHvudwfVuP51veHHT/RPn7a9VYeEj09BLmpX8BgQZaV8EIVzZM3WcGXm1f5Gw5uR5PZTioseKWbV7utts= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1756472390452743.2058055668301; Fri, 29 Aug 2025 05:59:50 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 993) id 3CCEB43F4E; Fri, 29 Aug 2025 08:59:49 -0400 (EDT) Received: from [172.19.199.3] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id 94541441EB; Fri, 29 Aug 2025 08:56:41 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 993) id F045C440FE; Fri, 29 Aug 2025 08:56:31 -0400 (EDT) Received: from forwardcorp1b.mail.yandex.net (forwardcorp1b.mail.yandex.net [178.154.239.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id B4BC7440FD for ; Fri, 29 Aug 2025 08:56:26 -0400 (EDT) Received: from mail-nwsmtp-smtp-corp-main-34.sas.yp-c.yandex.net (mail-nwsmtp-smtp-corp-main-34.sas.yp-c.yandex.net [IPv6:2a02:6b8:c21:2d8b:0:640:7d49:0]) by forwardcorp1b.mail.yandex.net (Yandex) with ESMTPS id 4316680EB0; Fri, 29 Aug 2025 15:54:33 +0300 (MSK) Received: from vsementsov-lin.. (unknown [2a02:6bf:8080:a45::1:13]) by mail-nwsmtp-smtp-corp-main-34.sas.yp-c.yandex.net (smtpcorp/Yandex) with ESMTPSA id VsaNvi1Gs0U0-5Bb0ybcf; Fri, 29 Aug 2025 15:54:32 +0300 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 X-Greylist: delayed 107 seconds by postgrey-1.37 at lists.libvirt.org; Fri, 29 Aug 2025 08:56:27 EDT X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex-team.ru; s=default; t=1756472072; bh=fSURjKxp8aN/QzOarNoSx4w8f8QS2PoH+Lpg9ZtltA8=; h=Message-ID:Date:Cc:Subject:To:From; b=goUAaQ1iIC5L7M4+R25uxXDH6qKhR/BqOu0SZJVGG+OyZJe5yYugQSj0wveh8azwf 6C1fGZ4I0VG48NeTPoeFN3T/E6UHJRj2lAMqGO2ZNPGIwmEqVrlztc41wM6D5vErUk RXf+cDVbItgE4esMbnDHWj1hhNTIaip1FVj6ewTg= Authentication-Results: mail-nwsmtp-smtp-corp-main-34.sas.yp-c.yandex.net; dkim=pass header.i=@yandex-team.ru From: Vladimir Sementsov-Ogievskiy To: jasowang@redhat.com Subject: [PATCH] qapi: net/tap: deprecate vhostforce option Date: Fri, 29 Aug 2025 15:54:29 +0300 Message-ID: <20250829125429.795595-1-vsementsov@yandex-team.ru> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: GBXZF3DGIXG2VRFMRDGSZQEWKUN726VF X-Message-ID-Hash: GBXZF3DGIXG2VRFMRDGSZQEWKUN726VF X-MailFrom: vsementsov@yandex-team.ru X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: qemu-devel@nongnu.org, vsementsov@yandex-team.ru, armbru@redhat.com, eblake@redhat.com, devel@lists.libvirt.org X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: pass (identity @yandex-team.ru) X-ZM-MESSAGEID: 1756472394183124100 Content-Type: text/plain; charset="utf-8" This option simply duplicates the @vhost option since long ago (10 years!) commit 1e7398a140f7a6 ("vhost: enable vhost without without MSI-X"). Let's finally deprecate it. Signed-off-by: Vladimir Sementsov-Ogievskiy --- docs/about/deprecated.rst | 7 +++++++ qapi/net.json | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst index d50645a071..d14cb37480 100644 --- a/docs/about/deprecated.rst +++ b/docs/about/deprecated.rst @@ -516,6 +516,13 @@ Stream ``reconnect`` (since 9.2) The ``reconnect`` option only allows specifying second granularity timeout= s, which is not enough for all types of use cases, use ``reconnect-ms`` inste= ad. =20 +TAP ``vhostforce`` (since 10.2) +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The ``vhostforce`` option just duplicates the main ``vhost`` option. +Use ``vhost`` alone. + + VFIO device options ''''''''''''''''''' =20 diff --git a/qapi/net.json b/qapi/net.json index 78bcc9871e..d1216bb60a 100644 --- a/qapi/net.json +++ b/qapi/net.json @@ -353,6 +353,10 @@ # @poll-us: maximum number of microseconds that could be spent on busy # polling for tap (since 2.7) # +# Features: +# +# @deprecated: Member @vhostforce is deprecated. Simply use @vhost. +# # Since: 1.2 ## { 'struct': 'NetdevTapOptions', @@ -369,7 +373,7 @@ '*vhost': 'bool', '*vhostfd': 'str', '*vhostfds': 'str', - '*vhostforce': 'bool', + '*vhostforce': { 'type': 'bool', 'features': [ 'deprecated' ] }, '*queues': 'uint32', '*poll-us': 'uint32'} } =20 --=20 2.48.1