From nobody Tue Feb 10 11:15:24 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=jetbrains.com ARC-Seal: i=1; a=rsa-sha256; t=1645810309; cv=none; d=zohomail.com; s=zohoarc; b=Ug9LfYT1O3BwfeyeAi3i4ua4YDAOlX9RAr32bhK89Xsjxp958DoCCbs28qjAeOQtie9oE0igC7qgrDfiEi/ydXEBbH5oEfVwDP9ErdgVZEEZAblmGyz0MsbtFCGINrTCgA1wYJdFTbuyEKAodb0qAbIXYiPI+vhNVCY053UEIhc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1645810309; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=rDzQ2Diu2otCXp2wF525auspdXUMMmhNmu89vlZY+2w=; b=eO/iuONm1gT96QFPelsY4JSfzzvsYlQDad8bJisdaZT9kzcc98bKKgnDfo+TfqIDhQ3iljoLHdn+RUEbQ8cK3UX6YFIvcHGB5QpmipJGCdmPodUoPT1VxzhGDHWzj7+nuT3F6sYPpw+qM9mSPgTLe3SqH8PYTmUMMez0WxM+avE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1645810309844805.4391749574911; Fri, 25 Feb 2022 09:31:49 -0800 (PST) Received: from localhost ([::1]:46606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nNeRY-0008Eo-91 for importer@patchew.org; Fri, 25 Feb 2022 12:31:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNdqc-0002eP-GV for qemu-devel@nongnu.org; Fri, 25 Feb 2022 11:53:38 -0500 Received: from [2a00:1450:4864:20::134] (port=41829 helo=mail-lf1-x134.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nNdqX-00048c-Bn for qemu-devel@nongnu.org; Fri, 25 Feb 2022 11:53:37 -0500 Received: by mail-lf1-x134.google.com with SMTP id f37so10383882lfv.8 for ; Fri, 25 Feb 2022 08:53:33 -0800 (PST) Received: from UNIT-808.lan ([2a02:2698:6c2a:768f:813e:378d:5c94:9b97]) by smtp.gmail.com with ESMTPSA id l11-20020a2e834b000000b00246308690e2sm309683ljh.85.2022.02.25.08.53.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Feb 2022 08:53:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jetbrains.com; s=googleapps; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rDzQ2Diu2otCXp2wF525auspdXUMMmhNmu89vlZY+2w=; b=XTWOXDPVDzIeVElfZaEZ021eV310vnr7rglD+tCvaFn1qXXm4P/1N6b+L0VT0bf+Np e5rCWLxaAKpMgCND/91Wof8x9HQkhytF5BrRFw/Wrf0bTPu5nSZisOoEAo8kaY1+nlAp JZ1yCkPYqj+drEDM53+Zi3rVgLskjaEdOH2Hk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rDzQ2Diu2otCXp2wF525auspdXUMMmhNmu89vlZY+2w=; b=bXk2smY4s2fq74HijRx1orsfUW1yClKW1SA4EEigafL182DMTgx9YnIZNgCrCXiYV6 naiSQ4rTsG4KP+pmS7+2q3xtK8PnXSLxHjkofgBla1H0Kfonxq7VowokID5dzKYMJpcI /WYG7wztxFgIgpFqz+03xwO1E99tV0SzYEYySTWJ056TJG9EyTEmsBSSH0if8cAOZJQz NBKGQ1ZyCwC7YSrbNY+DOpwt8DJRm06g34sIPjEzHrZbozNa3ZlkkbVQ1qu1S3MGlwg6 EmKy12LTFrK2B60voYGs5hqvqegyBZXD5VJ7uqffPfbpwL2/HwAReEYVDNRIN3URhg/7 sZKQ== X-Gm-Message-State: AOAM5314accdp6x23O/0nNjRx1xjHRzFprFGUZOpMuxfLIsQpgKJFPta UkjgtKFyZNXvKF6ViLDQ463otn7QVk2SRQ== X-Google-Smtp-Source: ABdhPJwi/l/O2osmX0GyIGpybE3JHOY17fdDp57sZ+BmvGI36ZpBvtE6WMfDWZQoZW7Dm3IGEzvmnA== X-Received: by 2002:ac2:549a:0:b0:443:f15d:e582 with SMTP id t26-20020ac2549a000000b00443f15de582mr5627998lfk.90.1645808011340; Fri, 25 Feb 2022 08:53:31 -0800 (PST) From: Vladislav Yaroshchuk X-Google-Original-From: Vladislav Yaroshchuk To: qemu-devel@nongnu.org Cc: jasowang@redhat.com, r.bolshakov@yadro.com, eblake@redhat.com, phillip.ennen@gmail.com, phillip@axleos.com, akihiko.odaki@gmail.com, armbru@redhat.com, hsp.cat7@gmail.com, hello@adns.io, roman@roolebo.dev, peter.maydell@linaro.org, dirty@apple.com, f4bug@amsat.org, agraf@csgraf.de, kraxel@redhat.com, alex.bennee@linaro.org, qemu_oss@crudebyte.com, Vladislav Yaroshchuk Subject: [PATCH v14 6/8] net/vmnet: update qemu-options.hx Date: Fri, 25 Feb 2022 19:52:36 +0300 Message-Id: <20220225165238.63646-7-Vladislav.Yaroshchuk@jetbrains.com> X-Mailer: git-send-email 2.34.1.vfs.0.0 In-Reply-To: <20220225165238.63646-1-Vladislav.Yaroshchuk@jetbrains.com> References: <20220225165238.63646-1-Vladislav.Yaroshchuk@jetbrains.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::134 (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=vladislav.yaroshchuk@jetbrains.com; helo=mail-lf1-x134.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 25 Feb 2022 12:16:18 -0500 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: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @jetbrains.com) X-ZM-MESSAGEID: 1645810310714100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Vladislav Yaroshchuk --- qemu-options.hx | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/qemu-options.hx b/qemu-options.hx index 094a6c1d7c..d2deab95d0 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -2742,6 +2742,25 @@ DEF("netdev", HAS_ARG, QEMU_OPTION_netdev, #ifdef __linux__ "-netdev vhost-vdpa,id=3Dstr,vhostdev=3D/path/to/dev\n" " configure a vhost-vdpa network,Establish a vhost-vdpa= netdev\n" +#endif +#ifdef CONFIG_VMNET + "-netdev vmnet-host,id=3Dstr[,isolated=3Don|off][,net-uuid=3Duuid]\n" + " [,start-address=3Daddr,end-address=3Daddr,subnet-mask=3Dmask= ]\n" + " configure a vmnet network backend in host mode with I= D 'str',\n" + " isolate this interface from others with 'isolated',\n" + " configure the address range and choose a subnet mask,= \n" + " specify network UUID 'uuid' to disable DHCP and inter= act with\n" + " vmnet-host interfaces within this isolated network\n" + "-netdev vmnet-shared,id=3Dstr[,isolated=3Don|off][,nat66-prefix=3Dadd= r]\n" + " [,start-address=3Daddr,end-address=3Daddr,subnet-mask=3Dmask= ]\n" + " configure a vmnet network backend in shared mode with= ID 'str',\n" + " configure the address range and choose a subnet mask,= \n" + " set IPv6 ULA prefix (of length 64) to use for interna= l network,\n" + " isolate this interface from others with 'isolated'\n" + "-netdev vmnet-bridged,id=3Dstr,ifname=3Dname[,isolated=3Don|off]\n" + " configure a vmnet network backend in bridged mode wit= h ID 'str',\n" + " use 'ifname=3Dname' to select a physical network inte= rface to be bridged,\n" + " isolate this interface from others with 'isolated'\n" #endif "-netdev hubport,id=3Dstr,hubid=3Dn[,netdev=3Dnd]\n" " configure a hub port on the hub with ID 'n'\n", QEMU_= ARCH_ALL) @@ -2761,6 +2780,9 @@ DEF("nic", HAS_ARG, QEMU_OPTION_nic, #endif #ifdef CONFIG_POSIX "vhost-user|" +#endif +#ifdef CONFIG_VMNET + "vmnet-host|vmnet-shared|vmnet-bridged|" #endif "socket][,option][,...][mac=3Dmacaddr]\n" " initialize an on-board / default host NIC (using MAC = address\n" @@ -2783,6 +2805,9 @@ DEF("net", HAS_ARG, QEMU_OPTION_net, #endif #ifdef CONFIG_NETMAP "netmap|" +#endif +#ifdef CONFIG_VMNET + "vmnet-host|vmnet-shared|vmnet-bridged|" #endif "socket][,option][,option][,...]\n" " old way to initialize a host network interface\n" --=20 2.34.1.vfs.0.0