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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 0524BC433F5 for ; Mon, 6 Dec 2021 12:57:15 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.238857.413945 (Exim 4.92) (envelope-from ) id 1muDY5-00029e-Af; Mon, 06 Dec 2021 12:56:53 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 238857.413945; Mon, 06 Dec 2021 12:56:53 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1muDY5-00029X-7G; Mon, 06 Dec 2021 12:56:53 +0000 Received: by outflank-mailman (input) for mailman id 238857; Mon, 06 Dec 2021 12:56:52 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1muDY4-00029R-63 for xen-devel@lists.xenproject.org; Mon, 06 Dec 2021 12:56:52 +0000 Received: from ppsw-32.csi.cam.ac.uk (ppsw-32.csi.cam.ac.uk [131.111.8.132]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id f9930dff-5693-11ec-a5e1-b9374ead2679; Mon, 06 Dec 2021 13:56:49 +0100 (CET) Received: from hades.srcf.societies.cam.ac.uk ([131.111.179.67]:44610) by ppsw-32.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.136]:25) with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1muDY0-0004Rb-29 (Exim 4.95) (return-path ); Mon, 06 Dec 2021 12:56:48 +0000 Received: from [192.168.1.10] (host-92-12-61-86.as13285.net [92.12.61.86]) (Authenticated sender: amc96) by hades.srcf.societies.cam.ac.uk (Postfix) with ESMTPSA id 760971FE08; Mon, 6 Dec 2021 12:56:48 +0000 (GMT) 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" X-Inumbo-ID: f9930dff-5693-11ec-a5e1-b9374ead2679 X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: https://help.uis.cam.ac.uk/email-scanner-virus Message-ID: <043425e2-44e1-2e05-8f90-5d3c7835938c@srcf.net> Date: Mon, 6 Dec 2021 12:56:48 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Content-Language: en-GB To: Juergen Gross , xen-devel@lists.xenproject.org Cc: Ian Jackson , Wei Liu References: <20211206124859.24911-1-jgross@suse.com> From: Andrew Cooper Subject: Re: [PATCH] tools/helpers: fix PVH xenstore-stubdom console parameters In-Reply-To: <20211206124859.24911-1-jgross@suse.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 06/12/2021 12:48, Juergen Gross wrote: > When using a PVH mode xenstore-stubdom the frame number of the console > should be a PFN instead of a MFN. > > Signed-off-by: Juergen Gross I tried fixing this before, but it appears that it didn't stick (for reasons pertaining to legacy pv-grub, so perhaps not relevant any more). What needs to go in xenstore is a gfn, so at a minimum the variable should be named console_gfn. With at least that change made, Reviewed-by: Andrew Cooper The proper fix is to alter dom->{console,store}_pfn to be gfns, because that's what all the users actually want. ~Andrew