From nobody Fri Mar 29 11:52:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1610504974; cv=none; d=zohomail.com; s=zohoarc; b=fo5e/8Vv7HNGklG1J8ekryJgh/fcvHI1vhxYR0ynqME0M+oo3KyFkHumyhZGG1cec72fXXvIZcOy4IMgIc3dCFYyj2cdhmUU0BP0PFMkjxW0r515LDx12kzuUpMb5S4nGIfYkprpwjTjW173IxnVBUt7TmePCF/cihstAudAHEo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610504974; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=GI9F3l8Ge5+/8bXgB2XSbzBh1FW5fci9dI8bL/I2W5Y=; b=Pai2LnfTBvKrr6qhsDgN9KJF0wuEnWTpueB2LIZP8V3GQdESbK/4Xru7qkUnR6B9s/ooAap4WT2AhVaUe7XtNhCaAg2/rO9ntLfoZmDS9ohx90FxPMPQ4NejKYVjAj4W3Btjnb4cynenuorqqyeRyUlv3dFe3npMUw4TTTOV0K0= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1610504974737103.67043559952333; Tue, 12 Jan 2021 18:29:34 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.66256.117601 (Exim 4.92) (envelope-from ) id 1kzVu6-00055V-4f; Wed, 13 Jan 2021 02:28:58 +0000 Received: by outflank-mailman (output) from mailman id 66256.117601; Wed, 13 Jan 2021 02:28:58 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kzVu6-00055O-1c; Wed, 13 Jan 2021 02:28:58 +0000 Received: by outflank-mailman (input) for mailman id 66256; Wed, 13 Jan 2021 02:28:57 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kzVu5-00055J-46 for xen-devel@lists.xenproject.org; Wed, 13 Jan 2021 02:28:57 +0000 Received: from mga02.intel.com (unknown [134.134.136.20]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 5767fbf5-44cf-4cf7-9deb-bcc142e567b0; Wed, 13 Jan 2021 02:28:55 +0000 (UTC) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2021 18:28:53 -0800 Received: from jmrober1-mobl.amr.corp.intel.com (HELO ubuntu.localdomain) ([10.209.65.239]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2021 18:28:52 -0800 X-Outflank-Mailman: Message body and most headers restored to incoming version 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: 5767fbf5-44cf-4cf7-9deb-bcc142e567b0 IronPort-SDR: UAMv+dhVZt9ur3Hq0UinZLNeMFVOL19OuSYLQ4czN3/3PokLhrauYB+UW8+fyARQ71KlqZE0Pu TrE5OHfP+91A== X-IronPort-AV: E=McAfee;i="6000,8403,9862"; a="165225684" X-IronPort-AV: E=Sophos;i="5.79,343,1602572400"; d="scan'208";a="165225684" IronPort-SDR: 0IthQ2bhlxtUJXp3M0ZxuQian0irN3WOGZMwS8QtmrFhEeLOZqUQY6ddoLwS/bnmqb69spqsnm XO7UsJ3jph7Q== X-IronPort-AV: E=Sophos;i="5.79,343,1602572400"; d="scan'208";a="424394710" From: Tamas K Lengyel To: xen-devel@lists.xenproject.org Cc: Tamas K Lengyel , Tamas K Lengyel , Jan Beulich , Andrew Cooper , George Dunlap , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Wei Liu Subject: [PATCH] x86/mem_sharing: fix wrong field name used in 2c5119d Date: Tue, 12 Jan 2021 18:28:45 -0800 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The arch_domain struct has "msr", not "msrs". Reported-by: Andrew Cooper Signed-off-by: Tamas K Lengyel Acked-by: Andrew Cooper --- I've build tested originally with "msr" but typod "msrs" when creating the patch that was sent in. Sorry for the noise. --- xen/arch/x86/mm/mem_sharing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/mm/mem_sharing.c b/xen/arch/x86/mm/mem_sharing.c index a98a1709c2..c8a6d11b90 100644 --- a/xen/arch/x86/mm/mem_sharing.c +++ b/xen/arch/x86/mm/mem_sharing.c @@ -1781,7 +1781,7 @@ static int fork(struct domain *cd, struct domain *d) domain_pause(d); cd->max_pages =3D d->max_pages; *cd->arch.cpuid =3D *d->arch.cpuid; - *cd->arch.msrs =3D *d->arch.msrs; + *cd->arch.msr =3D *d->arch.msr; cd->parent =3D d; } =20 --=20 2.25.1