xcp-1.6-updates/xen-4.1.hg

changeset 23219:49bf114c23f5

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>
xen-unstable changeset: 23608:1a20a8586048
xen-unstable date: Tue Jun 28 09:10:43 2011 +0100
Committed-by: Keir Fraser <keir@xen.org>
author James Carter <jwcart2@tycho.nsa.gov>
date Fri Jan 20 10:22:17 2012 +0000 (2012-01-20)
parents 27e959546916
children 37ef45fe9f97
files xen/xsm/dummy.c
line diff
     1.1 --- a/xen/xsm/dummy.c	Tue Jan 17 11:32:46 2012 +0000
     1.2 +++ b/xen/xsm/dummy.c	Fri Jan 20 10:22:17 2012 +0000
     1.3 @@ -462,6 +462,11 @@ static int dummy_ext_vcpucontext (struct
     1.4      return 0;
     1.5  }
     1.6  
     1.7 +static int dummy_vcpuextstate (struct domain *d, uint32_t cmd)
     1.8 +{
     1.9 +    return 0;
    1.10 +}
    1.11 +
    1.12  #endif
    1.13  
    1.14  struct xsm_operations dummy_xsm_ops;
    1.15 @@ -577,5 +582,6 @@ void xsm_fixup_ops (struct xsm_operation
    1.16      set_to_dummy_if_null(ops, bind_pt_irq);
    1.17      set_to_dummy_if_null(ops, pin_mem_cacheattr);
    1.18      set_to_dummy_if_null(ops, ext_vcpucontext);
    1.19 +    set_to_dummy_if_null(ops, vcpuextstate);
    1.20  #endif
    1.21  }