|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] build break
On Fri, 2010-09-17 at 03:00 +0100, Kay, Allen M wrote:
> I’m getting following build error in the latest staging tree:
>
>
>
> build/temp.linux-x86_64-2.6/xen/lowlevel/xl/_pyxl_types.o: In function
> `py_domain_build_info_cpuid_set':
>
> /home/akay/xen-unstable.hg/tools/python/xen/lowlevel/xl/_pyxl_types.c:1091:
> undefined reference to `attrib__libxl_cpuid_policy_list_set'
Looks like 22167:330c4d9010da and 22170:4e47a7db9711 are individually OK
but the combination is broken. This fixes it:
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1284727197 -3600
# Node ID f6e50c9ca3838d5d470202a2f7adc15234166c03
# Parent ec3548be868a0f8987b6c997a71ba53a1da3c2c7
python: xl: stub out libxl_cpuid_policy_list accessors
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
diff -r ec3548be868a -r f6e50c9ca383 tools/python/xen/lowlevel/xl/xl.c
--- a/tools/python/xen/lowlevel/xl/xl.c Fri Sep 17 13:10:24 2010 +0100
+++ b/tools/python/xen/lowlevel/xl/xl.c Fri Sep 17 13:39:57 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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|