From patchwork Wed Jan 13 02:28:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamas K Lengyel X-Patchwork-Id: 12015593 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 210F2C433DB for ; Wed, 13 Jan 2021 02:29:25 +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 B06FF2310F for ; Wed, 13 Jan 2021 02:29:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B06FF2310F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org 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 X-Outflank-Mailman: Message body and most headers restored to incoming version 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-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_Pau_Monn=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 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 = d->max_pages; *cd->arch.cpuid = *d->arch.cpuid; - *cd->arch.msrs = *d->arch.msrs; + *cd->arch.msr = *d->arch.msr; cd->parent = d; }