[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xen/xsm: Add missing dummy operation



# HG changeset patch
# User James Carter <jwcart2@xxxxxxxxxxxxx>
# Date 1309248643 -3600
# Node ID 1a20a85860483b2e34f2ff728aa9a58e5ed4103b
# Parent  2f63562df1c4230492a81793dce3672f93c93d9a
xen/xsm: Add missing dummy operation

This patch adds a dummy op for the xsm_vcpuextstate operation.

Signed-off-by: James Carter <jwcart2@xxxxxxxxxxxxx>
---


diff -r 2f63562df1c4 -r 1a20a8586048 xen/xsm/dummy.c
--- a/xen/xsm/dummy.c   Mon Jun 27 17:37:12 2011 +0100
+++ b/xen/xsm/dummy.c   Tue Jun 28 09:10:43 2011 +0100
@@ -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
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.