debuggers.hg

changeset 22054:72edff4d5db1

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>
author Ian Campbell <ian.campbell@citrix.com>
date Mon Aug 16 15:31:04 2010 +0100 (2010-08-16)
parents 39f50a3b7716
children 9c761fe23d3d
files tools/libxl/libxl.h
line diff
     1.1 --- a/tools/libxl/libxl.h	Mon Aug 16 15:31:04 2010 +0100
     1.2 +++ b/tools/libxl/libxl.h	Mon Aug 16 15:31:04 2010 +0100
     1.3 @@ -145,6 +145,8 @@ typedef char **libxl_string_list;
     1.4  
     1.5  typedef char **libxl_key_value_list;
     1.6  
     1.7 +typedef uint64_t *libxl_cpumap;
     1.8 +
     1.9  typedef enum {
    1.10      XENFV = 1,
    1.11      XENPV,
    1.12 @@ -695,7 +697,7 @@ typedef struct {
    1.13      uint8_t blocked:1; /* blocked waiting for an event? */
    1.14      uint8_t running:1; /* currently scheduled on its CPU? */
    1.15      uint64_t vcpu_time; /* total vcpu time ran (ns) */
    1.16 -    uint64_t *cpumap; /* current cpu's affinities */
    1.17 +    libxl_cpumap cpumap; /* current cpu's affinities */
    1.18  } libxl_vcpuinfo;
    1.19  
    1.20  typedef struct {