diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2010-08-16 15:31:04 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2010-08-16 15:31:04 +0100 |
commit | 28c011204acd6d7cd0ea94ac10a8cb6163dcf703 (patch) | |
tree | 454441801e7afdec32290cfb2dbd8cf4350309f7 | |
parent | 2057908adf0e24688824809414c608d990a35017 (diff) | |
download | xen-28c011204acd6d7cd0ea94ac10a8cb6163dcf703.tar.gz xen-28c011204acd6d7cd0ea94ac10a8cb6163dcf703.tar.bz2 xen-28c011204acd6d7cd0ea94ac10a8cb6163dcf703.zip |
libxl: add specific type for cpumap.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
committer: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
-rw-r--r-- | tools/libxl/libxl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h index 2e37c2d3d7..f2c4387598 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -145,6 +145,8 @@ typedef char **libxl_string_list; typedef char **libxl_key_value_list; +typedef uint64_t *libxl_cpumap; + typedef enum { XENFV = 1, XENPV, @@ -695,7 +697,7 @@ typedef struct { uint8_t blocked:1; /* blocked waiting for an event? */ uint8_t running:1; /* currently scheduled on its CPU? */ uint64_t vcpu_time; /* total vcpu time ran (ns) */ - uint64_t *cpumap; /* current cpu's affinities */ + libxl_cpumap cpumap; /* current cpu's affinities */ } libxl_vcpuinfo; typedef struct { |