[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] x86/shadow: Fix build with !CONFIG_SHADOW_PAGING


  • To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Mon, 21 Dec 2020 14:55:25 +0000
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Mon, 21 Dec 2020 14:56:29 +0000
  • Ironport-sdr: Vp7Vx3JoRUDp8fpAEngbl2SuTTqZ70nSOPeTLXoTu9IcLU8PLIqMZMm0imNH6jD2pN/VKylqEx t9VcCv9Ao1xYsD8XqgLSj5gk3ugS7S12ZPRLeII7oBTN4VlsuSj3fOj6dRnumCx6vS6mBVcR2C G1ucvulyMFduAUWMoxVjZIu3mVCksfzBFLd4wi0OyzaaJ48wIweK+lbEVXz6mvJFPqhSnjBXIC +B57XWs9beCF2POTOIiJk50uIdg/zKGRC8460HzJrJ6Z4qAbq5xiJ4XXSTIvguXu+5JO17uOkn tak=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Implement a stub for shadow_vcpu_teardown()

Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
CC: Jan Beulich <JBeulich@xxxxxxxx>
CC: Roger Pau Monné <roger.pau@xxxxxxxxxx>
CC: Wei Liu <wl@xxxxxxx>
---
 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,
 
 #else /* !CONFIG_SHADOW_PAGING */
 
+#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) \
-- 
2.11.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.