mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
1 parent
33c3ef4f76
commit
67e27bba02
1 file changed
+10
@@ -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;
|
||||
|
||||