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

[Xen-changelog] [xen-unstable] python: xl: stub out libxl_cpuid_policy_list accessors



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1284736333 -3600
# Node ID b99050b69bc8cf2947052e9fd344e3be3e3860f6
# Parent  d978675f3d53d48273eae0739d01b806ea9f1068
python: xl: stub out libxl_cpuid_policy_list accessors

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/python/xen/lowlevel/xl/xl.c |   10 ++++++++++
 1 files changed, 10 insertions(+)

diff -r d978675f3d53 -r b99050b69bc8 tools/python/xen/lowlevel/xl/xl.c
--- a/tools/python/xen/lowlevel/xl/xl.c Thu Sep 16 18:29:26 2010 +0100
+++ b/tools/python/xen/lowlevel/xl/xl.c Fri Sep 17 16:12:13 2010 +0100
@@ -203,6 +203,11 @@ static PyObject *fixed_bytearray_get(con
 
 #include "_pyxl_types.h"
 
+int attrib__libxl_cpuid_policy_list_set(PyObject *v, libxl_cpuid_policy_list 
*pptr)
+{
+    return -1;
+}
+
 int attrib__libxl_cpumap_set(PyObject *v, libxl_cpumap *pptr)
 {
     return -1;
@@ -246,6 +251,11 @@ int attrib__struct_in_addr_set(PyObject 
 int attrib__struct_in_addr_set(PyObject *v, struct in_addr *pptr)
 {
     return -1;
+}
+
+PyObject *attrib__libxl_cpuid_policy_list_get(libxl_cpuid_policy_list *pptr)
+{
+    return NULL;
 }
 
 PyObject *attrib__libxl_cpumap_get(libxl_cpumap *pptr)

_______________________________________________
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®.