Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3773761pxj; Tue, 1 Jun 2021 12:49:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5/IIs9EoKGLbmZ3lYyi87un7/jVtN/MwVe+684sdTpXDUqMOmnAx7Uv6AD98NpsPLKleF X-Received: by 2002:a50:d68a:: with SMTP id r10mr34761394edi.90.1622576987975; Tue, 01 Jun 2021 12:49:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622576987; cv=none; d=google.com; s=arc-20160816; b=R4K7yYdNqU6KKzq1OvpfC6jNYp01VulDyjsZCshVXRmI9bT9jDmjNfjSyBgJsBY7Ir BzD3+aFTaq46UUYHekrQHB18NUuMZLNaF39IyXNgGvWgfb9VuAksdk2fhMPtqSRUtQxw gfNF+jJOIz4JpnoeCwgJWmC0DvDggzrCerElDxLtN8akHppD+rBSIptOCvLAGBFZLLBg OqK+krEoNJU1VcslT9WyuRepvte8nSTZe5gCVgvWKHWDcPIlNQsS485qtIibEbAfVevc mdeOpze61k4Qd2ghMhGjj7nKC7PNfEfZ2AyuvR610Hkp6xSTn5OJ4fTUO0YFkz+nPq7F QzCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-filter; bh=b2RbQ9AC3QekddS3W4agCzij1UKySYCbh6vo4knr50Y=; b=xBMskEgD8oFxZkn/K4AW/3YfPBiyXnbWoOjKA9F1EGRrTCXiWVPrijx61UTDP5IzaZ Gm2FFZGur4/6Aw00Dq/VseCg1U+id9uIZTO33rN6JLnFhnLcsjeIVecdhSlJLk/buRpS 6YL42IUbA1UgsdseSoxEKswWZWlHtlaFo8EnI9qKT6LC71VJJANlmHj9rf2aMY70lGtn 6Nevg6nHjluuOZA+vDwUJBl0+UMelWzZX3EuEmsktjOuqmCOiASd5T+NLOWSskKPQFym Dm9wVr2N+uo7Ydl+4PHJqRTDbKY9FmYqbIIgvmue+4txpCH2WUVRfMbB7Q24Wh60R6l1 pPfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=LirxQxYn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s27si9822461eja.413.2021.06.01.12.49.09; Tue, 01 Jun 2021 12:49:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=LirxQxYn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234698AbhFATr0 (ORCPT + 99 others); Tue, 1 Jun 2021 15:47:26 -0400 Received: from linux.microsoft.com ([13.77.154.182]:55934 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233853AbhFATr0 (ORCPT ); Tue, 1 Jun 2021 15:47:26 -0400 Received: from [10.0.0.178] (c-67-168-106-253.hsd1.wa.comcast.net [67.168.106.253]) by linux.microsoft.com (Postfix) with ESMTPSA id E8F5D20B7178; Tue, 1 Jun 2021 12:45:43 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com E8F5D20B7178 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1622576744; bh=b2RbQ9AC3QekddS3W4agCzij1UKySYCbh6vo4knr50Y=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=LirxQxYn+m34RaAkGCwVuf7axZVZ64jQBkA2XKiJMn0HH0AgJkNl7gWK+mUzpx9vm +tRZMZrEL/sxkQBrdAaU/GIBZxGK4B8obuEfGlH9ZJRJSZ5q7ChmW7mKPeg9W1C2XH B/L/aGLRxe9RTlpZRuEoEK7Q7YDVx3zYpK1vBSqE= Subject: Re: [PATCH 03/19] drivers/hv: minimal mshv module (/dev/mshv/) To: Randy Dunlap , linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org Cc: virtualization@lists.linux-foundation.org, mikelley@microsoft.com, viremana@linux.microsoft.com, sunilmut@microsoft.com, wei.liu@kernel.org, vkuznets@redhat.com, ligrassi@microsoft.com, kys@microsoft.com References: <1622241819-21155-1-git-send-email-nunodasneves@linux.microsoft.com> <1622241819-21155-4-git-send-email-nunodasneves@linux.microsoft.com> From: Nuno Das Neves Message-ID: <948ea565-673d-3b08-9fe3-c69ca6eee727@linux.microsoft.com> Date: Tue, 1 Jun 2021 12:45:49 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/28/2021 5:01 PM, Randy Dunlap wrote: > On 5/28/21 3:43 PM, Nuno Das Neves wrote: >> Introduce a barebones module file for the mshv API. >> Introduce CONFIG_HYPERV_ROOT_API for controlling compilation of mshv. >> >> Co-developed-by: Lillian Grassin-Drake >> Signed-off-by: Lillian Grassin-Drake >> Signed-off-by: Nuno Das Neves >> --- > > Hi, > >> diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig >> index 66c794d92391..d618b1fab2bb 100644 >> --- a/drivers/hv/Kconfig >> +++ b/drivers/hv/Kconfig >> @@ -27,4 +27,22 @@ config HYPERV_BALLOON >> help >> Select this option to enable Hyper-V Balloon driver. >> >> +config HYPERV_ROOT_API >> + tristate "Microsoft Hypervisor root partition interfaces: /dev/mshv" >> + depends on HYPERV >> + help >> + Provides access to interfaces for managing guest virtual machines >> + running under the Microsoft Hypervisor. >> + >> + These interfaces will only work when Linux is running as root >> + partition on the Microsoft Hypervisor. >> + >> + The interfaces are provided via a device named /dev/mshv. >> + >> + To compile this as a module, choose M here. >> + The module is named mshv. > > ^^^^^^^^^^^^^ > > Please follow coding-style for Kconfig files: > > (from Documentation/process/coding-style.rst, section 10): > > For all of the Kconfig* configuration files throughout the source tree, > the indentation is somewhat different. Lines under a ``config`` definition > are indented with one tab, while help text is indented an additional two > spaces. > Oops, thanks for catching that! >> + >> + If unsure, say N. >> + >> + >> endmenu > > thanks. >