From nobody Sat Nov 23 14:08:35 2024 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=fail; 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=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1724700683349810.9484889438817; Mon, 26 Aug 2024 12:31:23 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 575F2D83; Mon, 26 Aug 2024 15:31:22 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 1CA86110D; Mon, 26 Aug 2024 15:30:48 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 1CDAFC7E; Mon, 26 Aug 2024 15:30:44 -0400 (EDT) Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 94CB7B3A for ; Mon, 26 Aug 2024 15:30:43 -0400 (EDT) Received: by mail-ot1-f49.google.com with SMTP id 46e09a7af769-70df4b5cdd8so3792704a34.1 for ; Mon, 26 Aug 2024 12:30:43 -0700 (PDT) Received: from home.. ([2603:8081:c640:1::1002]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-70e03b6024esm2045174a34.63.2024.08.26.12.30.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Aug 2024 12:30:42 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724700643; x=1725305443; darn=lists.libvirt.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=M5PuOavmXvxToqu1KllpJU6Z3xM+G+yKZLYerFKnk/I=; b=eTOQlXU7ANvQZzlVO4MCTBAszyyzlEL2O4PjGVWUNBl9H3cPFJCzQKtpEnD+lRIxNq Tb1jNWqhW13Xx0hiDbxusEvf8fJhRz76InI4z/jVc+4d87nRCgn0wXPob4CkT8lrWxBT 5JiFxTc76odz80MAl5pGyyPTh+BORfIdqYfo62SRXFqegE8uGP7myVN70zXDKuwfIc7o dd0qEsvmGupPS993MRLS4zNj63Ma99G+8glY/C7wjZKxdUbzzRgwkln2myeMjDXcSN/U FNCuB6I4jDgtJOFnihU43wgPuHQVL5enx1xUZXLHu9qOkG1oPVRwyguYI+BFtqBEYhk/ lkQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724700643; x=1725305443; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=M5PuOavmXvxToqu1KllpJU6Z3xM+G+yKZLYerFKnk/I=; b=v7yc1hBWgADwe9HoP8mf2J6g63FgJ2Q+oyomtGDca/1UsQlwlpEB2HJz/x3qzYk849 kBzDnBAatqNMd8k6mejdVnCa2NylBFss2xF/hO+QiyjuvTtb8H01EhXbqIa3oJGoJCir UxzL0+P2169tFU7zAw1DwwPjlTy10gsddqs3dOZe+yKWUhilRzkgRZR3FCxF9t8z+zNX jwa+NhhbpjUUs7UmjNs5l6BttyPKiUW3drCBJFDrVO9bbYVwe7IMqMQN55l0mHZChmtD saRZjsViiRdw17xliYbwwa1I4+v0u51E2Xc4u41oBZIkHzBeY/nL8pEdTivhPjdgeLuh 48Pw== X-Gm-Message-State: AOJu0YzetiJcKCAWYz8r9m/BOuqgNgNFNkqMrS3eviuFNBs9Rl3dGN29 MO+o2BVmUee+Y4XnnNkkb6dJSFkfzX3JhqUxdKYj872lUpb+scYk/EVFCs7O X-Google-Smtp-Source: AGHT+IGEoaA5fb7BvnVdh+jRnqUpR+9fW6Eiq7VDSBTBryDf/pZcGrVDOhJQUL8ugEovQQNcO2dPng== X-Received: by 2002:a05:6830:698d:b0:703:6d5a:84a9 with SMTP id 46e09a7af769-70f48458fc9mr430900a34.26.1724700642668; Mon, 26 Aug 2024 12:30:42 -0700 (PDT) From: Praveen K Paladugu To: devel@lists.libvirt.org Subject: [PATCH 1/2] ch: Enable bridge network mode Date: Mon, 26 Aug 2024 14:30:39 -0500 Message-ID: <20240826193040.10373-2-praveenkpaladugu@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240826193040.10373-1-praveenkpaladugu@gmail.com> References: <20240826193040.10373-1-praveenkpaladugu@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: Q3HXIWWTNKKVG7LLMIISFJL32A643USP X-Message-ID-Hash: Q3HXIWWTNKKVG7LLMIISFJL32A643USP X-MailFrom: praveenkpaladugu@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: liuwe@microsoft.com X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1724700685382116600 Content-Type: text/plain; charset="utf-8" Tested with following interface config: Signed-off-by: Praveen K Paladugu Signed-off-by: Praveen K Paladugu Reviewed-by: Michal Privoznik --- src/ch/ch_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch/ch_interface.c b/src/ch/ch_interface.c index 47b02bc322..6f6724f960 100644 --- a/src/ch/ch_interface.c +++ b/src/ch/ch_interface.c @@ -79,6 +79,7 @@ virCHConnetNetworkInterfaces(virCHDriver *driver, return -1; =20 break; + case VIR_DOMAIN_NET_TYPE_BRIDGE: case VIR_DOMAIN_NET_TYPE_NETWORK: if (virDomainInterfaceBridgeConnect(vm, net, tapfds, @@ -89,7 +90,6 @@ virCHConnetNetworkInterfaces(virCHDriver *driver, NULL) < 0) return -1; break; - case VIR_DOMAIN_NET_TYPE_BRIDGE: case VIR_DOMAIN_NET_TYPE_DIRECT: case VIR_DOMAIN_NET_TYPE_USER: case VIR_DOMAIN_NET_TYPE_SERVER: --=20 2.44.0 From nobody Sat Nov 23 14:08:35 2024 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=fail; 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=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1724700699511833.7630241693298; Mon, 26 Aug 2024 12:31:39 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 75B47D3E; Mon, 26 Aug 2024 15:31:38 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id E258D11AA; Mon, 26 Aug 2024 15:30:49 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id E4989C66; Mon, 26 Aug 2024 15:30:44 -0400 (EDT) Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 6BAF2B3A for ; Mon, 26 Aug 2024 15:30:44 -0400 (EDT) Received: by mail-ot1-f50.google.com with SMTP id 46e09a7af769-70968db52d0so5687414a34.3 for ; Mon, 26 Aug 2024 12:30:44 -0700 (PDT) Received: from home.. ([2603:8081:c640:1::1002]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-70e03b6024esm2045174a34.63.2024.08.26.12.30.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Aug 2024 12:30:43 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724700643; x=1725305443; darn=lists.libvirt.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IIqINmPsVZPEOg+997QEqii6RxDYoSa+E8J2VpOutyg=; b=e7Mbf/DEeR3KVZE/Dq/iV8wWdTNqxLMo2Y5yweZl1dhNymKZdzpibJ6g3c/L3bl0Sf vhhc0xFfKSrDGme+FY7SbsRSLB68JJK2ANQjI5Rgl3oya4CDvbAN9uewOFTb7P8Uh61G 6wA/0X2l4CpZXoLFo2kUmYvQjGGLn82W0ClHRF+I6Ugeq+Rez2I/u4Vrd1xy0YNJb8bY fXPufRL860IgyKKEf4FGvb6u/uerxD9nNiF04oVcgSpYsbhNUnkl8UyNUsa9p9RBmfQ6 GLu55MIfw7JvUD4bw9A+GgnaiJaTU1veWDUaKRKc0KDMBQtfj3SR3Bj22n6gDY8Y+ROG zTZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724700643; x=1725305443; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IIqINmPsVZPEOg+997QEqii6RxDYoSa+E8J2VpOutyg=; b=s43v6iByvR1LSnw56gDipT1tZK+yV3kXZemMQ4MQLWE0M9JUGLzr5mDREuYprNgUrA boyTnT+ifh2j664Yx6ZgC3dTGgDw92of0SJXj9Qi5eUqGSY12ef2Qz3GLQfxjN+ZfvbU B5/DOc6hRvDoxLi0VM6+gEHFwxFqa/jECFpkB7P5uwNsyMUtFWISHo1DWODLQlLDOwZF +GqnXG67xzpQdNTygj+H2lFjolEkrlaCGbGGqhh5HIiO7tlVUrK6azwhmKOajCaIcsru OHSnGz8AnMKUzb/4S8tm8yeuwEqSNHdwiMmpt0vLNKbNN8MyG4wnmq7kbtEQPx7RzmS9 lgyw== X-Gm-Message-State: AOJu0Yz9by4atQoyxLStCt7mvqVabFi9+WBT5HhHuPBiCT+0A4lr8mMq hywW2G8PCzEjXtSvrKLQv/zFvbwnE+QXNFSWesHMsqffzVOF0sxn88TjmBEE X-Google-Smtp-Source: AGHT+IHYPYOJ5Y3CyYeDuIC1/A04vcPdSd5QwyDr3Y3HsgwLsezD0g7mKN9UYCxrXQ5hQsQXNLVDqg== X-Received: by 2002:a05:6830:600f:b0:709:5cda:5d19 with SMTP id 46e09a7af769-70e0ebfa01amr15880530a34.27.1724700643488; Mon, 26 Aug 2024 12:30:43 -0700 (PDT) From: Praveen K Paladugu To: devel@lists.libvirt.org Subject: [PATCH 2/2] NEWS: Add an entry for network support in ch driver. Date: Mon, 26 Aug 2024 14:30:40 -0500 Message-ID: <20240826193040.10373-3-praveenkpaladugu@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240826193040.10373-1-praveenkpaladugu@gmail.com> References: <20240826193040.10373-1-praveenkpaladugu@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: YKZKZVFKWXM54ZTKZLBZW2LS2RTOILT4 X-Message-ID-Hash: YKZKZVFKWXM54ZTKZLBZW2LS2RTOILT4 X-MailFrom: praveenkpaladugu@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: liuwe@microsoft.com X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1724700701420116600 Content-Type: text/plain; charset="utf-8" Signed-off-by: Praveen K Paladugu Signed-off-by: Praveen K Paladugu Reviewed-by: Michal Privoznik --- NEWS.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 817c7ed040..9234e70590 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -31,6 +31,10 @@ v10.7.0 (unreleased) backed network devices. So, create new net fds and pass them via SCM_RIGHTS to CH during restore operation. =20 + * ch: support basic networking modes + Cloud-Hypervisor driver now supports Ethernet, Network (NAT) and Bridge + networking modes. + * **Bug fixes** =20 =20 --=20 2.44.0