python: xl: stub out libxl_cpuid_policy_list accessors

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
This commit is contained in:
Ian Campbell committed 2010-09-17 16:12:13 +01:00
1 parent 33c3ef4f76
commit 67e27bba02
1 file changed
+10
+10
View File
@@ -203,6 +203,11 @@ static PyObject *fixed_bytearray_get(const uint8_t *ptr, size_t len)
#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;
@@ -248,6 +253,11 @@ 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)
{
return NULL;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.