x86/shadow: Fix build with !CONFIG_SHADOW_PAGING
PATCH 1/1 x86/shadow: Fix build with !CONFIG_SHADOW_PAGING
Implement a stub for shadow_vcpu_teardown()
Signed-off-by Andrew Cooper <[email protected]>
---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Wei Liu <[email protected]>
--- xen/include/asm-x86/shadow.h | 1 + 1 file changed, 1 insertion(+)
xen/include/asm-x86/shadow.h +1 -0
@@ -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) \
Signature · 1 line
2.11.0
Quoted 3 lines · Andrew Cooper
Implement a stub for
shadow_vcpu_teardown()Signed-off-by Andrew Cooper <[email protected]>
Acked-by Jan Beulich <[email protected]>