Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A663C433EF for ; Thu, 28 Oct 2021 14:11:46 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4229F610A0 for ; Thu, 28 Oct 2021 14:11:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4229F610A0 Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=xenproject.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.218071.378360 (Exim 4.92) (envelope-from ) id 1mg67a-00066e-13; Thu, 28 Oct 2021 14:11:10 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 218071.378360; Thu, 28 Oct 2021 14:11:09 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mg67Z-00066X-UM; Thu, 28 Oct 2021 14:11:09 +0000 Received: by outflank-mailman (input) for mailman id 218071; Thu, 28 Oct 2021 14:11:08 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mg67Y-00066R-Gj for xen-devel@lists.xenproject.org; Thu, 28 Oct 2021 14:11:08 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mg67Y-0000aQ-FI for xen-devel@lists.xenproject.org; Thu, 28 Oct 2021 14:11:08 +0000 Received: from iwj (helo=mariner.uk.xensource.com) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1mg67Y-0005Il-Ea for xen-devel@lists.xenproject.org; Thu, 28 Oct 2021 14:11:08 +0000 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.89) (envelope-from ) id 1mg67U-0002Ju-PF; Thu, 28 Oct 2021 15:11:04 +0100 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=References:In-Reply-To:Subject:Cc:To:Date :Message-ID:Content-Transfer-Encoding:Content-Type:MIME-Version:From; bh=686+/GwBsuXxkPZS/sCU+xH1FdRwq4PT+JCTmnLo+sU=; b=qYmo0APZXPGiPX4B86oZndbx4/ oszeBcCFcpSTUSK5aGIp0YMUiqSq3HiE1BVOg5AKdmcMWXOU8M2ZbmhjwY2G2VYjTrZltyIdi/nQe wr/NeyN2Nhb9fHdmJhGEfx5pLrX25Ozq85RrvkHWAOtZ0DksBUjmyPjHmC7gNX6x5e+s=; From: Ian Jackson MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <24954.44919.8320.63375@mariner.uk.xensource.com> Date: Thu, 28 Oct 2021 15:11:03 +0100 To: Roger Pau =?iso-8859-1?Q?Monn=E9?= Cc: , Wei Liu , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Anthony PERARD , Juergen Gross , Christian Lindig , David Scott , Volodymyr Babchuk Subject: Re: [PATCH for-4.16 v3] gnttab: allow setting max version per-domain In-Reply-To: References: <20211028095923.83982-1-roger.pau@citrix.com> <24954.37807.277003.373593@mariner.uk.xensource.com> X-Mailer: VM 8.2.0b under 24.5.1 (i686-pc-linux-gnu) Roger Pau Monné writes ("Re: [PATCH for-4.16 v3] gnttab: allow setting max version per-domain"): > Would you like me to this to the commit message: > > "xenstored stubdomains are limited to grant table v1 because the > current MiniOS code used to build them only has support for grants v1. > There are existing limits set for xenstored stubdomains at creation > time that already match the defaults in MiniOS." Yes, please. > > I am not sure about the implications for migration. Might using this > > cause migration to fail for some guests ? > > > > Note that when using the default grant version the specific max > > version in use by the domain is not migrated. Any guests should be > > able to cope with the max grant version changing across migrations, > > and if a specific guest relies on a maximum grant version being > > unconditionally available it should be specified on the configuration > > file. > > > > Only if the feature is *not* used, I guess. Ie, this is the status > > quo. So I don't think there is any release risk there. > > This was raised by Jan in a previous version, the discussion can be > found here: > > https://lore.kernel.org/xen-devel/0b58667f-b6bc-d5b5-2dd1-0c8996367319@suse.com/ > > The issue could arise if a guest that strictly needs grant v2 is > migrated from a host that has v2 as the default max version to another > box that has v1 as the max version. If the guest config file doesn't > explicitly specify that the guest requires grant v2 migration will > succeed, but the guest will likely fail to resume properly. > > This is already the current behavior if a guest is migrated from a > host not having gnttab=max-ver set to one having gnttab=max-ver:1. Right. I don't think this is the correct behaviour but the patch is moving in the right direction. > > If we can get good answers to all of this, ideally I would like to see > > this committed by the end of tomorrow. I plan to cut RC1 on Monday. Thanks. Tools ack: with the commit message change discussed above, Reviewed-by: Ian Jackson I have no further release concerns but a formal release-ack will have to wait for review of the ocaml parts. Ian.