WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] xen/xsm: Add missing dummy operation

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] xen/xsm: Add missing dummy operation
From: James Carter <jwcart2@xxxxxxxxxxxxx>
Date: Thu, 23 Jun 2011 09:28:08 -0400
Delivery-date: Thu, 23 Jun 2011 06:27:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: National Security Agency
Reply-to: jwcart2@xxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
This patch adds a dummy op for the xsm_vcpuextstate operation.

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

---

 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@xxxxxxxxxxxxx>
National Security Agency



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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] xen/xsm: Add missing dummy operation, James Carter <=