From nobody Sat May 4 01:23:14 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1586465368; cv=none; d=zohomail.com; s=zohoarc; b=KTLfrTI8fx7qeuYwxQCcNACA1cBomfK+ayLyd9A7isNDQ0l0g879GJlg2EeOehSpdGd/QL2+DuhJSMjguTBzzMa9aaNs5f2yaU4KFkBK9GU3t5I9+4vhcwohJ9Fniksy4yWosCp5tTxBR81h540dPum0ny05K7cMWpAJcOeoSgw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586465368; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=21O4eqdEo4DfV4V5vpv1Ah56xDxKyRo5CWdhoaDCoSE=; b=fIHZCgM+DJxDDCo5pUd8mOaBMDc7icJO8/C9GwIkbDMETzvp57tltwjExv5DlciEQPbqeKBDFqQbh5+cgDBu/7oayQ8lAXe3YCcVVWg1VvL0XTps92EbmfYNDlpgZI3lGQ+bThZvreJVLkG1cubbkyiEFvq/3RUXnJzsux9RdJM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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 158646536878678.90171936736613; Thu, 9 Apr 2020 13:49:28 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jMe6P-0004Bo-Is; Thu, 09 Apr 2020 20:48:45 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jMe6O-0004Bj-HV for xen-devel@lists.xenproject.org; Thu, 09 Apr 2020 20:48:44 +0000 Received: from esa4.hc3370-68.iphmx.com (unknown [216.71.155.144]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 7fc72e3a-7aa3-11ea-b58d-bc764e2007e4; Thu, 09 Apr 2020 20:48:43 +0000 (UTC) X-Inumbo-ID: 7fc72e3a-7aa3-11ea-b58d-bc764e2007e4 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1586465323; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Rjn5z8tWEI99ZKW9mjsqO/GepQite5MHo/l5hfVY1Fs=; b=fQdHRPTsRNlU+6vRy+p/qZO2izJNcm+U+x40CDsgyHLD+tz9lx/hH49R HVjyWnXwOp7k3r2+60Phr6Cs/lM9ZoDXpON2EGrj7YwaDNgetHZ1GMizB phI44y5hKDGHlnFCnOyp9QMpjYybg4Cbmx7S4EF+3SWphPsPMbQbPF7PQ I=; Authentication-Results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=andrew.cooper3@citrix.com; spf=Pass smtp.mailfrom=Andrew.Cooper3@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com 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; Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of andrew.cooper3@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="andrew.cooper3@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa4.hc3370-68.iphmx.com: domain of Andrew.Cooper3@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="Andrew.Cooper3@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ip4:168.245.78.127 ~all" Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: b+SjthSYtJLMM4n2lAsuXONT/NfCpd7Z+uKq7sV2uVHwrI+kph2WgSBq/un3YY4uTh9IGYpRxE wusKBy1vsZa7a0n+CwyNjGLBjNlOxqc7BLVtzrBiv8ScB/MX1q3QKLFDhM6SvymFuOgHVOKR0w EXmJhL+EW692/sWxt44j9ETH5rudUfNb1wOYZYK37/kKoc4B6Tj018uOGXD/Wf17tip/JsM9Vj 3SdgUJO/ZTmuAlRb82j+nSNvweSARYzFQ9LOfUyDcrbAZlMn3pnWRxpS4SL8FZwPUlLc43cpqZ 3oA= X-SBRS: 2.7 X-MesageID: 16135641 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.72,364,1580792400"; d="scan'208";a="16135641" From: Andrew Cooper To: Xen-devel Subject: [PATCH] x86/mem_sharing: Fix build folloing VM Fork work Date: Thu, 9 Apr 2020 21:48:37 +0100 Message-ID: <20200409204837.7017-1-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Andrew Cooper , Tamas K Lengyel , Wei Liu , Jan Beulich , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) A default build fails with: mem_sharing.c: In function =E2=80=98copy_special_pages=E2=80=99: mem_sharing.c:1649:9: error: =E2=80=98HVM_PARAM_STORE_PFN=E2=80=99 undecl= ared (first use in this function) HVM_PARAM_STORE_PFN, ^~~~~~~~~~~~~~~~~~~ I suspect this is a rebasing issue with respect to c/s 12f0c69f2709 "x86/HV= M: reduce hvm.h include dependencies". Fixes: 41548c5472a "mem_sharing: VM forking" Signed-off-by: Andrew Cooper Acked-by: Tamas K Lengyel --- CC: Tamas K Lengyel CC: Jan Beulich CC: Wei Liu CC: Roger Pau Monn=C3=A9 --- xen/arch/x86/mm/mem_sharing.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/x86/mm/mem_sharing.c b/xen/arch/x86/mm/mem_sharing.c index 85951b7bea..e572e9e39d 100644 --- a/xen/arch/x86/mm/mem_sharing.c +++ b/xen/arch/x86/mm/mem_sharing.c @@ -41,6 +41,8 @@ #include #include =20 +#include + #include "mm-locks.h" =20 static shr_handle_t next_handle =3D 1; --=20 2.11.0