From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DB499C433F5 for ; Tue, 18 Jan 2022 16:37:57 +0000 (UTC) Received: from localhost ([::1]:57026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9rUa-0004uJ-Po for qemu-devel@archiver.kernel.org; Tue, 18 Jan 2022 11:37:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9r9q-000411-18 for qemu-devel@nongnu.org; Tue, 18 Jan 2022 11:16:30 -0500 Received: from [2607:f8b0:4864:20::530] (port=38674 helo=mail-pg1-x530.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n9r9n-0001yg-IZ for qemu-devel@nongnu.org; Tue, 18 Jan 2022 11:16:29 -0500 Received: by mail-pg1-x530.google.com with SMTP id q75so6790862pgq.5 for ; Tue, 18 Jan 2022 08:16:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=W4Ji5eoz8iVyOyB2L7PJLr3zkgP+PmIfkoK/Mm5vV+M=; b=m5hmGBOeka83wBEr4cGG73iAavGbQRHLn9hAofZhP2hP3oVAurFc3l3ElXXzM6RzqG l3WWqTL2iPO264qGUvcyiEmPYbbWyHZ32eM4wO8hIk1AwlJlLjIvhOzcK4ll6y2a1GuS y15OfOCNKr1rBrmfq7BGkftOSY8ejJu/EF6xgQgLBBp7iAdxKvKnjIrRp7Y416jFlon5 h45VDgAuqQ7h42W7NtLpGh70eNNhsWWYzDS4sPBGbnNC+qJSo9SMip69Yz02A/YqJF2A dYy0ZZXQmoxhTL8lEreuTzpHpDJ4P7MeRLn6dGZDQBugQ5phRBcxzF/TaLblOjwkEOJ5 gAtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W4Ji5eoz8iVyOyB2L7PJLr3zkgP+PmIfkoK/Mm5vV+M=; b=t+pN5uUhX8Ilbrl9WZqwByjqtuwoJcXDNW7PhD3Ri8HEkHqtP4hbbFs45ULo6E9LLJ LE3Qij0G3Cy1XGObRaJwTvGO4Mkep/5t92JOj4Yc/bkBSU6BRF2jNwQocyVe+TjTJ5or WfZKjh2YX5WBezMpNu9X8YwJC8fWvDVjO22aPV+jwJb11OArgqJHDq+VNJ46n18MxaGx Ll92INszec1d8AXt5Qt1LTt5tWc+i7uU+FrJsm20V5ii/D9FBGZQXD7jDedaZsiSzHIZ 3aqTP0b6HsE2T6OKe5DxYkvt5Fwssd/9Wx5hjZu6wd8lG1yiHg/IHQHvYL5K4iPbvkmG 6AYQ== X-Gm-Message-State: AOAM530Wg3TB/EqSNGRtXtIA35UOE/Qmrfl37rRFxP8MeMkp0CvqWh5M L/aEQPuNJsReFRkdThICuRHO9N+6SmpRZwK4ptw= X-Google-Smtp-Source: ABdhPJxVRUJwidjdEp2ad85MjTKmrlae7ZEDRvLZNYGxb7nQ2ovQCN7wuR7bJem0wgssKxHmd/CpgjJtEQhpjcrUYhU= X-Received: by 2002:a63:8c49:: with SMTP id q9mr23734144pgn.425.1642522582163; Tue, 18 Jan 2022 08:16:22 -0800 (PST) MIME-Version: 1.0 References: <20220113172219.66372-1-yaroshchuk2000@gmail.com> <20220113172219.66372-3-yaroshchuk2000@gmail.com> <87r19584xc.fsf@dusky.pond.sub.org> In-Reply-To: <87r19584xc.fsf@dusky.pond.sub.org> From: Vladislav Yaroshchuk Date: Tue, 18 Jan 2022 19:16:09 +0300 Message-ID: Subject: Re: [PATCH v13 2/7] net/vmnet: add vmnet backends to qapi/net To: Markus Armbruster Content-Type: multipart/alternative; boundary="0000000000000ba56205d5dd9773" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::530 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=yaroshchuk2000@gmail.com; helo=mail-pg1-x530.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , =?UTF-8?B?QWxleCBCZW5uw6ll?= , Jason Wang , phillip.ennen@gmail.com, qemu-devel , Cameron Esfahani , =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= , Roman Bolshakov , Roman Bolshakov , Alexander Graf , Phillip Tennen , Akihiko Odaki , Howard Spoelstra , Alessio Dionisi , Christian Schoenebeck , Eric Blake , Gerd Hoffmann Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --0000000000000ba56205d5dd9773 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =D0=B2=D1=82, 18 =D1=8F=D0=BD=D0=B2. 2022 =D0=B3. =D0=B2 18:01, Markus Armb= ruster : > Vladislav Yaroshchuk writes: > > > Create separate netdevs for each vmnet operating mode: > > - vmnet-host > > - vmnet-shared > > - vmnet-bridged > > > > Signed-off-by: Vladislav Yaroshchuk > > I acked v8 of the QAPI schema part. You should add Acked-by and > Reviewed-by you receive in later revisions, unless you make changes that > invalidate them. When in doubt, drop them. > > Oh ok, I'll do that next time. > > diff --git a/qapi/net.json b/qapi/net.json > > index 7fab2e7cd8..b922e2e34f 100644 > > --- a/qapi/net.json > > +++ b/qapi/net.json > > @@ -452,6 +452,120 @@ > > '*vhostdev': 'str', > > '*queues': 'int' } } > > > > +## > > +# @NetdevVmnetHostOptions: > > +# > > +# vmnet (host mode) network backend. > > +# > > +# Allows the vmnet interface to communicate with other vmnet > > +# interfaces that are in host mode and also with the host. > > +# > > +# @start-address: The starting IPv4 address to use for the interface. > > +# Must be in the private IP range (RFC 1918). Must be > > +# specified along with @end-address and @subnet-mask. > > +# This address is used as the gateway address. The > > +# subsequent address up to and including end-address a= re > > +# placed in the DHCP pool. > > +# > > +# @end-address: The DHCP IPv4 range end address to use for the > > +# interface. Must be in the private IP range (RFC 1918). > > +# Must be specified along with @start-address and > > +# @subnet-mask. > > +# > > +# @subnet-mask: The IPv4 subnet mask to use on the interface. Must > > +# be specified along with @start-address and @subnet-mas= k. > > +# > > +# @isolated: Enable isolation for this interface. Interface isolation > > +# ensures that vmnet interface is not able to communicate > > +# with any other vmnet interfaces. Only communication with > > +# host is allowed. Available since macOS Big Sur 11.0. > > What happens when the host is too old? > > In this case netdev creation will fail with corresponding message (error_setg() used). > +# > > +# @net-uuid: The identifier (UUID) to uniquely identify the isolated > > +# network vmnet interface should be added to. If > > +# set, no DHCP service is provided for this interface and > > +# network communication is allowed only with other interfac= es > > +# added to this network identified by the UUID. Available > > +# since macOS Big Sur 11.0. > > Same question. > > The same behavior here. > > +# > > +# Since: 7.0 > > +## > > +{ 'struct': 'NetdevVmnetHostOptions', > > + 'data': { > > + '*start-address': 'str', > > + '*end-address': 'str', > > + '*subnet-mask': 'str', > > + '*isolated': 'bool', > > + '*net-uuid': 'str' }, > > + 'if': 'CONFIG_VMNET' } > > + > > +## > > +# @NetdevVmnetSharedOptions: > > +# > > +# vmnet (shared mode) network backend. > > +# > > +# Allows traffic originating from the vmnet interface to reach the > > +# Internet through a network address translator (NAT). > > +# The vmnet interface can communicate with the host and with > > +# other shared mode interfaces on the same subnet. If no DHCP > > +# settings, subnet mask and IPv6 prefix specified, the interface can > > +# communicate with any of other interfaces in shared mode. > > +# > > +# @start-address: The starting IPv4 address to use for the interface. > > +# Must be in the private IP range (RFC 1918). Must be > > +# specified along with @end-address and @subnet-mask. > > +# This address is used as the gateway address. The > > +# subsequent address up to and including end-address a= re > > +# placed in the DHCP pool. > > +# > > +# @end-address: The DHCP IPv4 range end address to use for the > > +# interface. Must be in the private IP range (RFC 1918). > > +# Must be specified along with @start-address and > @subnet-mask. > > +# > > +# @subnet-mask: The IPv4 subnet mask to use on the interface. Must > > +# be specified along with @start-address and > @subnet-mask. > > +# > > +# @isolated: Enable isolation for this interface. Interface isolation > > +# ensures that vmnet interface is not able to communicate > > +# with any other vmnet interfaces. Only communication with > > +# host is allowed. Available since macOS Big Sur 11.0. > > Same question. > > The same behavior here. > > +# > > +# @nat66-prefix: The IPv6 prefix to use into guest network. Must be a > > +# unique local address i.e. start with fd00::/8 and hav= e > > +# length of 64. > > +# > > +# Since: 7.0 > > +## > > +{ 'struct': 'NetdevVmnetSharedOptions', > > + 'data': { > > + '*start-address': 'str', > > + '*end-address': 'str', > > + '*subnet-mask': 'str', > > + '*isolated': 'bool', > > + '*nat66-prefix': 'str' }, > > + 'if': 'CONFIG_VMNET' } > > + > > +## > > +# @NetdevVmnetBridgedOptions: > > +# > > +# vmnet (bridged mode) network backend. > > +# > > +# Bridges the vmnet interface with a physical network interface. > > +# > > +# @ifname: The name of the physical interface to be bridged. > > +# > > +# @isolated: Enable isolation for this interface. Interface isolation > > +# ensures that vmnet interface is not able to communicate > > +# with any other vmnet interfaces. Only communication with > > +# host is allowed. Available since macOS Big Sur 11.0. > > Same question. > > The same behavior here. > > +# > > +# Since: 7.0 > > +## > > +{ 'struct': 'NetdevVmnetBridgedOptions', > > + 'data': { > > + 'ifname': 'str', > > + '*isolated': 'bool' }, > > + 'if': 'CONFIG_VMNET' } > > + > > ## > > # @NetClientDriver: > > # > > @@ -460,10 +574,16 @@ > > # Since: 2.7 > > # > > # @vhost-vdpa since 5.1 > > +# @vmnet-host since 7.0 > > +# @vmnet-shared since 7.0 > > +# @vmnet-bridged since 7.0 > > ## > > { 'enum': 'NetClientDriver', > > 'data': [ 'none', 'nic', 'user', 'tap', 'l2tpv3', 'socket', 'vde', > > - 'bridge', 'hubport', 'netmap', 'vhost-user', 'vhost-vdpa' = ] > } > > + 'bridge', 'hubport', 'netmap', 'vhost-user', 'vhost-vdpa', > > + { 'name': 'vmnet-host', 'if': 'CONFIG_VMNET' }, > > + { 'name': 'vmnet-shared', 'if': 'CONFIG_VMNET' }, > > + { 'name': 'vmnet-bridged', 'if': 'CONFIG_VMNET' }] } > > > > ## > > # @Netdev: > > @@ -477,6 +597,9 @@ > > # Since: 1.2 > > # > > # 'l2tpv3' - since 2.1 > > +# 'vmnet-host' - since 7.0 > > +# 'vmnet-shared' - since 7.0 > > +# 'vmnet-bridged' - since 7.0 > > ## > > { 'union': 'Netdev', > > 'base': { 'id': 'str', 'type': 'NetClientDriver' }, > > @@ -492,7 +615,13 @@ > > 'hubport': 'NetdevHubPortOptions', > > 'netmap': 'NetdevNetmapOptions', > > 'vhost-user': 'NetdevVhostUserOptions', > > - 'vhost-vdpa': 'NetdevVhostVDPAOptions' } } > > + 'vhost-vdpa': 'NetdevVhostVDPAOptions', > > + 'vmnet-host': { 'type': 'NetdevVmnetHostOptions', > > + 'if': 'CONFIG_VMNET' }, > > + 'vmnet-shared': { 'type': 'NetdevVmnetSharedOptions', > > + 'if': 'CONFIG_VMNET' }, > > + 'vmnet-bridged': { 'type': 'NetdevVmnetBridgedOptions', > > + 'if': 'CONFIG_VMNET' } } } > > > > ## > > # @RxState: > > --=20 Best Regards, Vladislav Yaroshchuk --0000000000000ba56205d5dd9773 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
=D0=B2=D1=82, 18 =D1=8F=D0=BD=D0=B2. = 2022 =D0=B3. =D0=B2 18:01, Markus Armbruster <armbru@redhat.com>:
Vladislav Yaroshchuk <yaroshchuk2000@gmail.com> writes:<= br>
> Create separate netdevs for each vmnet operating mode:
> - vmnet-host
> - vmnet-shared
> - vmnet-bridged
>
> Signed-off-by: Vladislav Yaroshchuk <yaroshchuk2000@gmail.com>

I acked v8 of the QAPI schema part.=C2=A0 You should add Acked-by and
Reviewed-by you receive in later revisions, unless you make changes that invalidate them.=C2=A0 When in doubt, drop them.


Oh ok, I'll do that next time.
=
=C2=A0
> diff --git a/qapi/net.json b/qapi/net.json
> index 7fab2e7cd8..b922e2e34f 100644
> --- a/qapi/net.json
> +++ b/qapi/net.json
> @@ -452,6 +452,120 @@
>=C2=A0 =C2=A0 =C2=A0 '*vhostdev':=C2=A0 =C2=A0 =C2=A0'str&#= 39;,
>=C2=A0 =C2=A0 =C2=A0 '*queues':=C2=A0 =C2=A0 =C2=A0 =C2=A0'= int' } }
>=C2=A0
> +##
> +# @NetdevVmnetHostOptions:
> +#
> +# vmnet (host mode) network backend.
> +#
> +# Allows the vmnet interface to communicate with other vmnet
> +# interfaces that are in host mode and also with the host.
> +#
> +# @start-address: The starting IPv4 address to use for the interface.=
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Must b= e in the private IP range (RFC 1918). Must be
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0specif= ied along with @end-address and @subnet-mask.
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0This a= ddress is used as the gateway address. The
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0subseq= uent address up to and including end-address are
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0placed= in the DHCP pool.
> +#
> +# @end-address: The DHCP IPv4 range end address to use for the
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0interface. Mu= st be in the private IP range (RFC 1918).
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Must be speci= fied along with @start-address and
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0@subnet-mask.=
> +#
> +# @subnet-mask: The IPv4 subnet mask to use on the interface. Must > +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0be specified = along with @start-address and @subnet-mask.
> +#
> +# @isolated: Enable isolation for this interface. Interface isolation=
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ensures that vmnet interfa= ce is not able to communicate
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 with any other vmnet inter= faces. Only communication with
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 host is allowed. Available= since macOS Big Sur 11.0.

What happens when the host is too old?


In this case netdev creation will fail with=
corresponding message (error_setg() used).=

> +#
> +# @net-uuid: The identifier (UUID) to uniquely identify the isolated<= br> > +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 network vmnet interface sh= ould be added to. If
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 set, no DHCP service is pr= ovided for this interface and
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 network communication is a= llowed only with other interfaces
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 added to this network iden= tified by the UUID. Available
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 since macOS Big Sur 11.0.<= br>
Same question.


The same behavior here.
=C2=A0
> +#
> +# Since: 7.0
> +##
> +{ 'struct': 'NetdevVmnetHostOptions',
> +=C2=A0 'data': {
> +=C2=A0 =C2=A0 '*start-address': 'str',
> +=C2=A0 =C2=A0 '*end-address':=C2=A0 =C2=A0'str',
> +=C2=A0 =C2=A0 '*subnet-mask':=C2=A0 =C2=A0'str',
> +=C2=A0 =C2=A0 '*isolated':=C2=A0 =C2=A0 =C2=A0 'bool'= ,
> +=C2=A0 =C2=A0 '*net-uuid':=C2=A0 =C2=A0 =C2=A0 'str' = },
> +=C2=A0 'if': 'CONFIG_VMNET' }
> +
> +##
> +# @NetdevVmnetSharedOptions:
> +#
> +# vmnet (shared mode) network backend.
> +#
> +# Allows traffic originating from the vmnet interface to reach the > +# Internet through a network address translator (NAT).
> +# The vmnet interface can communicate with the host and with
> +# other shared mode interfaces on the same subnet. If no DHCP
> +# settings, subnet mask and IPv6 prefix specified, the interface can<= br> > +# communicate with any of other interfaces in shared mode.
> +#
> +# @start-address: The starting IPv4 address to use for the interface.=
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Must b= e in the private IP range (RFC 1918). Must be
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0specif= ied along with @end-address and @subnet-mask.
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0This a= ddress is used as the gateway address. The
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0subseq= uent address up to and including end-address are
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0placed= in the DHCP pool.
> +#
> +# @end-address: The DHCP IPv4 range end address to use for the
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0interface. Mu= st be in the private IP range (RFC 1918).
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Must be speci= fied along with @start-address and @subnet-mask.
> +#
> +# @subnet-mask: The IPv4 subnet mask to use on the interface. Must > +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 be specified= along with @start-address and @subnet-mask.
> +#
> +# @isolated: Enable isolation for this interface. Interface isolation=
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ensures that vmnet interfa= ce is not able to communicate
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 with any other vmnet inter= faces. Only communication with
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 host is allowed. Available= since macOS Big Sur 11.0.

Same question.


The same behavior here.

=C2=A0
> +#
> +# @nat66-prefix: The IPv6 prefix to use into guest network. Must be a=
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 unique local= address i.e. start with fd00::/8 and have
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 length of 64= .
> +#
> +# Since: 7.0
> +##
> +{ 'struct': 'NetdevVmnetSharedOptions',
> +=C2=A0 'data': {
> +=C2=A0 =C2=A0 '*start-address': 'str',
> +=C2=A0 =C2=A0 '*end-address':=C2=A0 =C2=A0'str',
> +=C2=A0 =C2=A0 '*subnet-mask':=C2=A0 =C2=A0'str',
> +=C2=A0 =C2=A0 '*isolated':=C2=A0 =C2=A0 =C2=A0 'bool'= ,
> +=C2=A0 =C2=A0 '*nat66-prefix':=C2=A0 'str' },
> +=C2=A0 'if': 'CONFIG_VMNET' }
> +
> +##
> +# @NetdevVmnetBridgedOptions:
> +#
> +# vmnet (bridged mode) network backend.
> +#
> +# Bridges the vmnet interface with a physical network interface.
> +#
> +# @ifname: The name of the physical interface to be bridged.
> +#
> +# @isolated: Enable isolation for this interface. Interface isolation=
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ensures that vmnet interfa= ce is not able to communicate
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 with any other vmnet inter= faces. Only communication with
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 host is allowed. Available= since macOS Big Sur 11.0.

Same question.


The same behavior here.
=C2= =A0
> +#
> +# Since: 7.0
> +##
> +{ 'struct': 'NetdevVmnetBridgedOptions',
> +=C2=A0 'data': {
> +=C2=A0 =C2=A0 'ifname':=C2=A0 =C2=A0 =C2=A0'str',
> +=C2=A0 =C2=A0 '*isolated':=C2=A0 'bool' },
> +=C2=A0 'if': 'CONFIG_VMNET' }
> +
>=C2=A0 ##
>=C2=A0 # @NetClientDriver:
>=C2=A0 #
> @@ -460,10 +574,16 @@
>=C2=A0 # Since: 2.7
>=C2=A0 #
>=C2=A0 #=C2=A0 =C2=A0 =C2=A0 =C2=A0 @vhost-vdpa since 5.1
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 @vmnet-host since 7.0
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 @vmnet-shared since 7.0
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 @vmnet-bridged since 7.0
>=C2=A0 ##
>=C2=A0 { 'enum': 'NetClientDriver',
>=C2=A0 =C2=A0 'data': [ 'none', 'nic', 'use= r', 'tap', 'l2tpv3', 'socket', 'vde', > -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'bridge', 'hubp= ort', 'netmap', 'vhost-user', 'vhost-vdpa' ] }<= br> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'bridge', 'hubp= ort', 'netmap', 'vhost-user', 'vhost-vdpa',
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 { 'name': 'vmne= t-host', 'if': 'CONFIG_VMNET' },
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 { 'name': 'vmne= t-shared', 'if': 'CONFIG_VMNET' },
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 { 'name': 'vmne= t-bridged', 'if': 'CONFIG_VMNET' }] }
>=C2=A0
>=C2=A0 ##
>=C2=A0 # @Netdev:
> @@ -477,6 +597,9 @@
>=C2=A0 # Since: 1.2
>=C2=A0 #
>=C2=A0 #=C2=A0 =C2=A0 =C2=A0 =C2=A0 'l2tpv3' - since 2.1
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 'vmnet-host' - since 7.0
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 'vmnet-shared' - since 7.0
> +#=C2=A0 =C2=A0 =C2=A0 =C2=A0 'vmnet-bridged' - since 7.0
>=C2=A0 ##
>=C2=A0 { 'union': 'Netdev',
>=C2=A0 =C2=A0 'base': { 'id': 'str', 'type&= #39;: 'NetClientDriver' },
> @@ -492,7 +615,13 @@
>=C2=A0 =C2=A0 =C2=A0 'hubport':=C2=A0 'NetdevHubPortOptions= ',
>=C2=A0 =C2=A0 =C2=A0 'netmap':=C2=A0 =C2=A0'NetdevNetmapOpt= ions',
>=C2=A0 =C2=A0 =C2=A0 'vhost-user': 'NetdevVhostUserOptions&= #39;,
> -=C2=A0 =C2=A0 'vhost-vdpa': 'NetdevVhostVDPAOptions' = } }
> +=C2=A0 =C2=A0 'vhost-vdpa': 'NetdevVhostVDPAOptions',=
> +=C2=A0 =C2=A0 'vmnet-host': { 'type': 'NetdevVmne= tHostOptions',
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= 'if': 'CONFIG_VMNET' },
> +=C2=A0 =C2=A0 'vmnet-shared': { 'type': 'NetdevVm= netSharedOptions',
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 'if': 'CONFIG_VMNET' },
> +=C2=A0 =C2=A0 'vmnet-bridged': { 'type': 'NetdevV= mnetBridgedOptions',
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0'if': 'CONFIG_VMNET' } } }
>=C2=A0
>=C2=A0 ##
>=C2=A0 # @RxState:



--
Best Regards,

Vladislav Yaroshchuk
=
--0000000000000ba56205d5dd9773--