James Carter
2011-Jun-23 13:28 UTC
[Xen-devel] [PATCH] xen/xsm: Add missing dummy operation
This patch adds a dummy op for the xsm_vcpuextstate operation. Signed-off-by: James Carter <jwcart2@tycho.nsa.gov> --- dummy.c | 6 ++++++ 1 file changed, 6 insertions(+) diff -r eca057e4475c xen/xsm/dummy.c --- a/xen/xsm/dummy.c Fri Jun 17 08:08:13 2011 +0100 +++ b/xen/xsm/dummy.c Wed Jun 22 14:12:00 2011 -0400 @@ -463,6 +463,11 @@ return 0; } +static int dummy_vcpuextstate (struct domain *d, uint32_t cmd) +{ + return 0; +} + #endif struct xsm_operations dummy_xsm_ops; @@ -578,5 +583,6 @@ set_to_dummy_if_null(ops, bind_pt_irq); set_to_dummy_if_null(ops, pin_mem_cacheattr); set_to_dummy_if_null(ops, ext_vcpucontext); + set_to_dummy_if_null(ops, vcpuextstate); #endif } -- James Carter <jwcart2@tycho.nsa.gov> National Security Agency _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel