diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2012-01-31 16:34:39 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2012-01-31 16:34:39 +0000 |
commit | 8137e3ea1a0ea66181680b9bc4f1865c0edb81b5 (patch) | |
tree | 2eea6138d1c7551622242d160b76009a41624398 /tools/libxl/gentest.py | |
parent | e0dfff8c14c05594d1a0c2216f906653fcf225de (diff) | |
download | xen-8137e3ea1a0ea66181680b9bc4f1865c0edb81b5.tar.gz xen-8137e3ea1a0ea66181680b9bc4f1865c0edb81b5.tar.bz2 xen-8137e3ea1a0ea66181680b9bc4f1865c0edb81b5.zip |
libxl: expose cpu topology as a single list of cpu->{node,core,socket} maps.
Rather than the previous tripple list which is more complicated to work with
and harder for language bindings.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/gentest.py')
-rw-r--r-- | tools/libxl/gentest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/libxl/gentest.py b/tools/libxl/gentest.py index 06d35369cf..be05bfb49d 100644 --- a/tools/libxl/gentest.py +++ b/tools/libxl/gentest.py @@ -195,6 +195,7 @@ static void libxl_string_list_rand_init(libxl_string_list *p) *p = l; } +#if 0 /* To be remove in a subsequent patch */ static void libxl_cpuarray_rand_init(libxl_cpuarray *p) { int i; @@ -209,6 +210,7 @@ static void libxl_cpuarray_rand_init(libxl_cpuarray *p) p->array[i] = r; } } +#endif """) for ty in builtins + types: if ty.typename not in handcoded: |