libxl: add specific type for hwcaps
authorIan Campbell <ian.campbell@citrix.com>
Mon, 16 Aug 2010 14:31:04 +0000 (15:31 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 16 Aug 2010 14:31:04 +0000 (15:31 +0100)
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>

tools/libxl/libxl.h

index f2c4387598bd179853d350505248d319adc3e1e9..968ddeacd3bcf9858af5d5ecc03ec2e25572ac2d 100644 (file)
@@ -147,6 +147,8 @@ typedef char **libxl_key_value_list;
 
 typedef uint64_t *libxl_cpumap;
 
+typedef uint32_t libxl_hwcap[8];
+
 typedef enum {
     XENFV = 1,
     XENPV,
@@ -713,7 +715,7 @@ typedef struct {
     uint64_t scrub_pages;
 
     uint32_t nr_nodes;
-    uint32_t hw_cap[8];
+    libxl_hwcap hw_cap;
     uint32_t phys_cap;
 }  libxl_physinfo;