From patchwork Sat Dec 11 10:44:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladislav Yaroshchuk X-Patchwork-Id: 1566824 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=AYkODWxk; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4JB4Gp5R6tz9sRN for ; Sat, 11 Dec 2021 21:47:30 +1100 (AEDT) Received: from localhost ([::1]:43086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvzua-0005Pw-JX for incoming@patchwork.ozlabs.org; Sat, 11 Dec 2021 05:47:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvzrk-0000vK-LW for qemu-devel@nongnu.org; Sat, 11 Dec 2021 05:44:32 -0500 Received: from [2a00:1450:4864:20::12b] (port=43899 helo=mail-lf1-x12b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvzri-000842-Me for qemu-devel@nongnu.org; Sat, 11 Dec 2021 05:44:32 -0500 Received: by mail-lf1-x12b.google.com with SMTP id b40so22330470lfv.10 for ; Sat, 11 Dec 2021 02:44:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KxyIn3tzuHg3Cc5smDSxhuZu5Nmeg1/uO+PyEusnahs=; b=AYkODWxkHU/LfpbQPpquGAVX5llcX5zQ+si4y/CBLs20gzOBsSoCoBOppFzCPGG/Lt /mzmLx/X3C0Qrnt72M5yzuFI9ctPrPvXSWlO4egAhhfd5aUIxqaTl5TDsQ85vGOBi7GZ eOw1oUEm+LTUxz16efHLlo8mZik9axVbd1Inrr7KQIpQBjY+6bJ2QyzNexXHbcJQgFe9 z4qInhVBVrbnMkveqWuhkPRzmHDcyoF43DAmoWYpc6GRtedDxQ3JqJmFp6Q+tHO8/Df0 EZxkmwp/QZDup7extHclWs7/9rZXg+bA786zwjTNSr/xKzohwBRj/2i3Rq0kdSRk70oM 5yRw== 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=KxyIn3tzuHg3Cc5smDSxhuZu5Nmeg1/uO+PyEusnahs=; b=zsOHoKCMwTTIUCZCu01cgqf2vxCJCNjr6YSyv6+YEd2oV0UL/21ApAvLh5Yq8FcbYf /p7SM0EQcdF399JSE2v4TN2jYIsbyarHA4EOyuQ2BW47NOflnxi+KPvhRIEOHpGX35QG mtqGt6pHyIz4YyxVgwwXD/MYNkgOX0Fz0IegNJvCiEgdMwEdaxKKdWLM59N+hqAiEoVp ip70clNGujFkVABVBkS1lE+mZIuU381RbAiUQhEkRgrafwXx+X/5Ky5qNkuPaUXS81Ne GBvTXz1y1qU11IY1tKs2FEA34QDv2i5GBkS52kCZlYCjc+/6O93o/RZQBdaBIvdGV2yI 0mdQ== X-Gm-Message-State: AOAM532R06s3AzW1SZYbcw3f7SCeMLGwG9dS+d93Jj9MnQ1Uy5M3/JT6 O7C31PBcxChnq4L6U7wuMBwRLc4qrmg= X-Google-Smtp-Source: ABdhPJwGygtzgW+6Ku3NZFZZtXhcE6iSiwhg3j7WfXxaBvmCznus9YYiZafPc63IkxgfZ+H+BkWHmg== X-Received: by 2002:a19:5f14:: with SMTP id t20mr16661261lfb.532.1639219468775; Sat, 11 Dec 2021 02:44:28 -0800 (PST) Received: from UNIT-808.lan ([2a02:2698:6c2a:abdc:fce0:e51a:d86:d956]) by smtp.gmail.com with ESMTPSA id h22sm581971lfc.137.2021.12.11.02.44.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Dec 2021 02:44:28 -0800 (PST) From: Vladislav Yaroshchuk To: qemu-devel@nongnu.org Subject: [PATCH v8 6/7] net/vmnet: update qemu-options.hx Date: Sat, 11 Dec 2021 13:44:12 +0300 Message-Id: <20211211104413.50524-7-yaroshchuk2000@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20211211104413.50524-1-yaroshchuk2000@gmail.com> References: <20211211104413.50524-1-yaroshchuk2000@gmail.com> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::12b (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=yaroshchuk2000@gmail.com; helo=mail-lf1-x12b.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, 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: Vladislav Yaroshchuk , jasowang@redhat.com, phillip.ennen@gmail.com, armbru@redhat.com, r.bolshakov@yadro.com, phillip@axleos.com, akihiko.odaki@gmail.com, hsp.cat7@gmail.com, hello@adns.io, eblake@redhat.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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 ae2c6dbbfc..1ffa5eedd5 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -2677,6 +2677,25 @@ DEF("netdev", HAS_ARG, QEMU_OPTION_netdev, #ifdef __linux__ "-netdev vhost-vdpa,id=str,vhostdev=/path/to/dev\n" " configure a vhost-vdpa network,Establish a vhost-vdpa netdev\n" +#endif +#ifdef CONFIG_VMNET + "-netdev vmnet-host,id=str[,isolated=on|off][,net-uuid=uuid]\n" + " [,start-address=addr,end-address=addr,subnet-mask=mask]\n" + " configure a vmnet network backend in host mode with ID '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 interact with\n" + " vmnet-host interfaces within this isolated network\n" + "-netdev vmnet-shared,id=str[,isolated=on|off][,nat66-prefix=addr]\n" + " [,start-address=addr,end-address=addr,subnet-mask=mask]\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 internal network,\n" + " isolate this interface from others with 'isolated'\n" + "-netdev vmnet-bridged,id=str,ifname=name[,isolated=on|off]\n" + " configure a vmnet network backend in bridged mode with ID 'str',\n" + " use 'ifname=name' to select a physical network interface to be bridged,\n" + " isolate this interface from others with 'isolated'\n" #endif "-netdev hubport,id=str,hubid=n[,netdev=nd]\n" " configure a hub port on the hub with ID 'n'\n", QEMU_ARCH_ALL) @@ -2696,6 +2715,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=macaddr]\n" " initialize an on-board / default host NIC (using MAC address\n" @@ -2718,6 +2740,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"