Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1764100pxu; Tue, 24 Nov 2020 08:22:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2fRTbbTpK4Ojxj3+umy0r1MbnZ/ZUYyVv3U3VloQ1/CANpZQ3gZMuSXLlnsubvmaGlCR0 X-Received: by 2002:a50:85c6:: with SMTP id q6mr4862007edh.126.1606234972772; Tue, 24 Nov 2020 08:22:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606234972; cv=none; d=google.com; s=arc-20160816; b=KGvTWTAcvCTThj266/hzD1zjhFV3a/Dr1vIhKxA1ZgYpNtPcZ5bbqAkA8UsWYHrpnB 7QdMVuR7ur03AO3ysjYPAM9F44CUhcUQCFOJS8xhbXWl0hG+12oSJapRgzbsVqinl1AZ zNRvWE49YMatrFGD56ozxMo81quUz6TIrNrm3o8sqmTS6j9qzobRa2GscXW7FHsKHJ9i e+Y+oDipEt9Qv2WauWN/kc2JDi6Uu2mKbWlW+75Bs297DnML29GQDUqVPfIyrulwyXgS 1Bk5w7epjXlOD6gzKCPvqooBpvbM+P4z+nnl3bmLd0jjyMtvEfxn4fgM6tscKkvR8NQx BQZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=PfnCueAGA03Kq3WrXMnEVjCnHQIAB19s6jaLxFSkI8U=; b=DXnM1L8Xt0fWJ9a9m8byiwjEaqi4FO1aVYhyCwqhbf2y/+feIE75A/ifnPQJE2xYu+ peZ/X2AK9NYF/060k2/dRd/xkxTWgI8+xQXe+/9V65mY2Jw8KvkUCYZbbuso6k5X4Tch TUA9yfUadVfMJ9rClEgNzTK2YnbvNHeIoeYrUJawdVxMb01lWhwizaTGOWey1jOKS9pe goPIJAae5YfYnpHF7+Q3UO5uOUsxR6/Dg+9anUAq0XImYVKAVNk9KvNbw7mkeQugJsGk G+6og6TdYePLdL/JEya7Ly8hUwFGWEypkYa4AkHJLdar8U1MkZL60hhsJK/kKawKshd1 wylw== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si8703312ejk.142.2020.11.24.08.22.27; Tue, 24 Nov 2020 08:22:52 -0800 (PST) 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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390275AbgKXQTE (ORCPT + 99 others); Tue, 24 Nov 2020 11:19:04 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:55466 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388568AbgKXQTD (ORCPT ); Tue, 24 Nov 2020 11:19:03 -0500 Received: by mail-wm1-f65.google.com with SMTP id x22so2897224wmc.5; Tue, 24 Nov 2020 08:19:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=PfnCueAGA03Kq3WrXMnEVjCnHQIAB19s6jaLxFSkI8U=; b=HJWBt+y8VYy2pWH3bGZtfRXr7JsfvT0+cCYVAOCe6dbfvyw1vB1SObucQlH+2bJ7dg /w63++/rEN7l5iLYZHQBuSJhplOK3MpaFEn4jYgbLGb8AV3z0rhHahwcwGYnr2PsHkyc MD9EGu9y8PrMj8GJyC1GA9gGWyjGxvVlGolV03PX4Yy7Y9qR+jSsVx2NMlapwRGwOLLy CiZsw+mzYCxsWiUeUYCyXkDjH817/F7NYHZQr4lZQpRiA9RPrxts7Zu2cxFWixYb0E06 3nN9+Jvu+/B81EErEZqd6f+7okbEtOFOTw9T7jbfQ3/uP7Y4h3pwcOjtgUc02Sb3peUW 5QmA== X-Gm-Message-State: AOAM531NJy0zRoRoqwIDiyVv99Dmwf/tiqmwI8VjK96E/m7qn8q9gjQt OhKqBFEQEuog4KM4NNlhXs+xUHf5/s8= X-Received: by 2002:a1c:2b03:: with SMTP id r3mr5152591wmr.184.1606234741424; Tue, 24 Nov 2020 08:19:01 -0800 (PST) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id h98sm23680174wrh.69.2020.11.24.08.19.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 08:19:00 -0800 (PST) Date: Tue, 24 Nov 2020 16:18:59 +0000 From: Wei Liu To: Nuno Das Neves Cc: linux-hyperv@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, mikelley@microsoft.com, viremana@linux.microsoft.com, sunilmut@microsoft.com, wei.liu@kernel.org, ligrassi@microsoft.com, kys@microsoft.com Subject: Re: [RFC PATCH 00/18] Microsoft Hypervisor root partition ioctl interface Message-ID: <20201124161859.wkbyppzirf7nwggt@liuwe-devbox-debian-v2> References: <1605918637-12192-1-git-send-email-nunodasneves@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1605918637-12192-1-git-send-email-nunodasneves@linux.microsoft.com> User-Agent: NeoMutt/20180716 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 20, 2020 at 04:30:19PM -0800, Nuno Das Neves wrote: > This patch series provides a userspace interface for creating and running guest > virtual machines while running on the Microsoft Hypervisor [0]. > > Since managing guest machines can only be done when Linux is the root partition, > this series depends on the RFC already posted by Wei Liu: > https://lore.kernel.org/linux-hyperv/20201105165814.29233-1-wei.liu@kernel.org/T/#t > > The first two patches provide some helpers for converting hypervisor status > codes to linux error codes, and easily printing hypervisor status codes to dmesg > for debugging. > > Hyper-V related headers asm-generic/hyperv-tlfs.h and x86/asm/hyperv-tlfs.h are > split into uapi and non-uapi. The uapi versions contain structures used in both > the ioctl interface and the kernel. > > The mshv API is introduced in virt/mshv/mshv_main.c. As each interface is Given this new file is placed under an arch-agnostic directory, please make sure it doesn't break builds for other architecture. We can start with running ARM builds for this series. Wei.