[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] x86/shadow: Fix build with !CONFIG_SHADOW_PAGING
commit ffa9d2999722a404d3a4381b0249d191de134d33 Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Mon Dec 21 14:52:26 2020 +0000 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Mon Dec 21 15:16:31 2020 +0000 x86/shadow: Fix build with !CONFIG_SHADOW_PAGING Implement a stub for shadow_vcpu_teardown() Fixes: d162f36848c4 ("xen/x86: Fix memory leak in vcpu_create() error path") Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- 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) \ -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |