From nobody Sat Nov 30 10:51:55 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; dkim=pass; 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=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1608562608; cv=none; d=zohomail.com; s=zohoarc; b=aEUfykAIBcBsKzWoNLA+qqRV4aIRC8EtG6dt6tBi21ioV++jOMLw0EU6hVpC0fkfO7qBnivIKQbT+ba7ScqWJMUuSpS2SD4sn3KHXK4CS6hakwMOrhLva7E67wFrSfGQS34c2G2FzKizSsh5yZnuWQKV8tSYuGS8eSxccEhiEiw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1608562608; 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=CrwuuNLSfeyCawssvQZgLTHSvmbDGI/CjRIu253QPF4=; b=Flenxic7o3dMfM/iXuhkdkOYFt3HAWfmrsRUTJVhQpLBKeA6LA4PpOcqw4Fs6rwsOlhIj7wq3xwTkZ7lusiDKuRlfM6WBSkLoy6+hdJ8geBT180X6YuTCB7oklNdIkr6sfIbgbcYFNPUvcWivl4PjYTxxA5lFcDACuynw5MnQTk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=reject 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 1608562608185524.6451165173806; Mon, 21 Dec 2020 06:56:48 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.57396.100399 (Exim 4.92) (envelope-from ) id 1krMbd-0006Tz-KO; Mon, 21 Dec 2020 14:56:13 +0000 Received: by outflank-mailman (output) from mailman id 57396.100399; Mon, 21 Dec 2020 14:56:13 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1krMbd-0006Ts-H7; Mon, 21 Dec 2020 14:56:13 +0000 Received: by outflank-mailman (input) for mailman id 57396; Mon, 21 Dec 2020 14:56:12 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1krMbc-0006Tn-7p for xen-devel@lists.xenproject.org; Mon, 21 Dec 2020 14:56:12 +0000 Received: from esa3.hc3370-68.iphmx.com (unknown [216.71.145.155]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id a2f2007e-7608-4198-a1c0-5d1910bf3bba; Mon, 21 Dec 2020 14:56:05 +0000 (UTC) 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: a2f2007e-7608-4198-a1c0-5d1910bf3bba DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1608562565; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=IsbdRLNgcktPXpB+x8LBH5Rgb6C8AoFkm8H3FotSQd0=; b=JuS65IJHtcoeyEuM9VFymo9meOFHC2e09SKf9+MMRn1R4t3zR288+6zB nsz48SZvd2x3GmKYMxRZowindyjCJVylWQTS+aMBreQFww2CVESOMzsxf oBtfxe4M4mN5MST02m7SLUVAzMHJsO6ABC0KIVL7ypr31yX7qjSy7TuHk 8=; Authentication-Results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: Vp7Vx3JoRUDp8fpAEngbl2SuTTqZ70nSOPeTLXoTu9IcLU8PLIqMZMm0imNH6jD2pN/VKylqEx t9VcCv9Ao1xYsD8XqgLSj5gk3ugS7S12ZPRLeII7oBTN4VlsuSj3fOj6dRnumCx6vS6mBVcR2C G1ucvulyMFduAUWMoxVjZIu3mVCksfzBFLd4wi0OyzaaJ48wIweK+lbEVXz6mvJFPqhSnjBXIC +B57XWs9beCF2POTOIiJk50uIdg/zKGRC8460HzJrJ6Z4qAbq5xiJ4XXSTIvguXu+5JO17uOkn tak= X-SBRS: 5.2 X-MesageID: 33665476 X-Ironport-Server: esa3.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.78,436,1599537600"; d="scan'208";a="33665476" From: Andrew Cooper To: Xen-devel CC: Andrew Cooper , Jan Beulich , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Wei Liu Subject: [PATCH] x86/shadow: Fix build with !CONFIG_SHADOW_PAGING Date: Mon, 21 Dec 2020 14:55:25 +0000 Message-ID: <20201221145525.30804-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-ZohoMail-DKIM: pass (identity @citrix.com) Implement a stub for shadow_vcpu_teardown() Signed-off-by: Andrew Cooper Acked-by: Jan Beulich --- CC: Jan Beulich CC: Roger Pau Monn=C3=A9 CC: Wei Liu --- xen/include/asm-x86/shadow.h | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/include/asm-x86/shadow.h b/xen/include/asm-x86/shadow.h index 29a86ed78e..e25f9604d8 100644 --- a/xen/include/asm-x86/shadow.h +++ b/xen/include/asm-x86/shadow.h @@ -99,6 +99,7 @@ int shadow_set_allocation(struct domain *d, unsigned int = pages, =20 #else /* !CONFIG_SHADOW_PAGING */ =20 +#define shadow_vcpu_teardown(v) ASSERT(is_pv_vcpu(v)) #define shadow_teardown(d, p) ASSERT(is_pv_domain(d)) #define shadow_final_teardown(d) ASSERT(is_pv_domain(d)) #define shadow_enable(d, mode) \ --=20 2.11.0