Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1751810rwl; Wed, 12 Apr 2023 18:32:47 -0700 (PDT) X-Google-Smtp-Source: AKy350ag+nilSmY+9NDtrED6KJhT5pdeyyCQ+LPumoBxm4XreXtxGso2+9ICWltwbWuWUWR/h3fP X-Received: by 2002:a05:6a00:10d5:b0:63a:33d5:9224 with SMTP id d21-20020a056a0010d500b0063a33d59224mr1098321pfu.18.1681349567294; Wed, 12 Apr 2023 18:32:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681349567; cv=none; d=google.com; s=arc-20160816; b=bpmxm6oilR3B0P3ax0la4ziQYGnDB6aZqjUa7+1pc1cbvDDtl12JUiWqmOvxxG7DPo 5xXehZYTq6Sog4G1pF7P5M3cJ7hATd5mjZFLwoMfLZ7XFmZ9/dlt72P1TVTbATN5QoWW EkjaXuJHPiOuD16222VhbWTD4kPSqRPSmJ6Ggw3J6IXpeptKPy0GIEZh5Opb7esSr7Xd Hz0U4M4/VUpKfoEw3g1CziBvyDywJ09u9HgsI+TxeQD0mFHbo7rEWrn1tK2/fcf6/wk9 bWnXncnuEckVChCfjUbyXLS4aOeSS+yRbSgqbIAtOO3CUxABYjT99qCgNh+yPBUMYbDJ rjug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=J9C3dFAu0hHRvj63wKtnrnN7r4TEMw3YR/cX0XFbBe8=; b=qFnvkg/3xj5TmPAOSibo0NsXPHTJY1wVGgj1gwgL4y8aBNjWLI+jE+MjX56FR2JQA0 NogyQ8cQfRRFPuIc5jAyhbsycRAifCbVJy0mwCoG+qWc01vL9yZRFhmqusgpifGwMiH5 y2fuTcGMpqRAGopGFxSvWto2eI8LgJ7uvOy61fY2LnAqo38UepDDEiZQQOtcQF18FYqb jGdbPd8PMnXNYQ/dNdBXgwnheoxClQWYwsPbSVJ+jxfifZ1xTh0dtybTkv7THp5PGqXB jmkhQKQIBL2SdJVyr80FevCJVcGZkzb/IeS8tJ2PRX4GUZKgv3Pe4p98XZ4hrWQ5gDFm UmMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n8-20020aa79848000000b0063b13efdd06si252626pfq.345.2023.04.12.18.32.35; Wed, 12 Apr 2023 18:32:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229605AbjDMBbt (ORCPT + 99 others); Wed, 12 Apr 2023 21:31:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229527AbjDMBbs (ORCPT ); Wed, 12 Apr 2023 21:31:48 -0400 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4D5F121; Wed, 12 Apr 2023 18:31:47 -0700 (PDT) Received: by mail-wm1-f50.google.com with SMTP id v20-20020a05600c471400b003ed8826253aso3087770wmo.0; Wed, 12 Apr 2023 18:31:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681349506; x=1683941506; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=J9C3dFAu0hHRvj63wKtnrnN7r4TEMw3YR/cX0XFbBe8=; b=G1opHY/Zr2mLyB2//lKeD5cfxBvs5T2YZZvg/YNzJXUbMoNahllnQnISWoCTovuIki UFPdUiCh1L6y2OaUsqDbkEusdZ8H49bFIhSQscBUDSKepRy8G5F7aBR6Xle+nDFPFJvT Q4XnTWqUkv/Gw0rH+LGSK8DtQ7nUxNS6uIJX66i6hH9WMhjPIQXSzKo02+T60ywwzTR6 cE95LYHeuJsMBGSqTGqlhKYRfOz9OzVRBqE1Sd9XPdftgGtoYBvhNkkQz9knzB7CPaDS njLGdArK80a7k5cXYErSBAVEzJqlFqD618+EnyH5zZjtxgCbMQQxFBNdCMvCsEbRhqVB fg3A== X-Gm-Message-State: AAQBX9dPbMX3aA7FxYY5W8TTefFQzHzrgZPDJREWEogfTwuQTG2dkR2Z svN0P5jXsq8Knse2TnCbByE= X-Received: by 2002:a05:600c:2141:b0:3f0:9a3f:c8b5 with SMTP id v1-20020a05600c214100b003f09a3fc8b5mr453813wml.27.1681349506449; Wed, 12 Apr 2023 18:31:46 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id s6-20020a7bc386000000b003ef5db16176sm419230wmj.32.2023.04.12.18.31.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Apr 2023 18:31:46 -0700 (PDT) Date: Thu, 13 Apr 2023 01:31:42 +0000 From: Wei Liu To: Shradha Gupta Cc: Wei Liu , linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, Michael Kelley , decui@microsoft.com Subject: Re: [PATCH] hv/hv_kvp_daemon: Add support for keyfile config based connection profile in NM Message-ID: References: <1677133334-6958-1-git-send-email-shradhagupta@linux.microsoft.com> <20230307052408.GA11548@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230307052408.GA11548@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Shradha On Mon, Mar 06, 2023 at 09:24:08PM -0800, Shradha Gupta wrote: > On Mon, Mar 06, 2023 at 03:40:54PM +0000, Wei Liu wrote: > > On Wed, Feb 22, 2023 at 10:22:14PM -0800, Shradha Gupta wrote: > > > As communicated in BZ <2122115>, ifcfg config file support in > > > > What is BZ <2122115>? I guess that's Red Hat's bugzilla? > > > > I don't think this is useful information for the commit message, since > > the community cannot access that ticket. > Thanks for the pointer, will change this > > > > > NetworkManger is deprecated. This patch provides support for the > > > new keyfile config format for connection profiles in NetworkManager. > > > The patch modifies the hv_kvp_daemon code to generate the new network > > > configuration in keyfile format(.ini-style format) instead of ifcfg > > > format. > > > > Okay, so the wire protocol for the KVP daemon is not changed. It is just > > the intermediate file format that's changed. > > > That is correct. > > > This configuration is stored in a temp file which is further translated > > > using the hv_set_ifconfig.sh script. This script is implemented by > > > individual distros based on the network management commands supported. > > > For example, RHEL's implementation could be found here: > > > https://gitlab.com/redhat/centos-stream/src/hyperv-daemons/-/blob/c9s/hv_set_ifconfig.sh > > > Debian's implementation could be found here: > > > https://github.com/endlessm/linux/blob/master/debian/cloud-tools/hv_set_ifconfig > > > > > > The next part of this support is to inform the Distro vendors to > > > modify these implementations to consume the new configuration format. > > > > > > > I guess they will figure out the format has changed when they upgrade to > > a new kernel? > Yeah, so whenever they decide to use the latest kernel, they would have to change > their implementation to consume these changes. Can you resend with my comments addressed and ask member of the best guest team to give an ack or review? It does look sensible, but I guess I'm not in a good enough position to determine the guest side tools changes. Thanks, Wei. > > > > Thanks, > > Wei.