x86/shadow: Fix build with !CONFIG_SHADOW_PAGING
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 21 Dec 2020 14:52:26 +0000 (14:52 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 21 Dec 2020 15:16:31 +0000 (15:16 +0000)
commitffa9d2999722a404d3a4381b0249d191de134d33
tree5039e7326214dfda9f4da170b2d43a8dfaaf31ae
parentd162f36848c4a98a782cc05820b0aa7ec1ae297d
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@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/shadow.h