[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] libxl: add specific type for hwcaps



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1281969064 -3600
# Node ID 9c761fe23d3dcff4ecaf687403ccb3f8172dd2ea
# Parent  72edff4d5db1aaedd1266775202ee834fa072386
libxl: add specific type for hwcaps

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
committer: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
 tools/libxl/libxl.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -r 72edff4d5db1 -r 9c761fe23d3d tools/libxl/libxl.h
--- a/tools/libxl/libxl.h       Mon Aug 16 15:31:04 2010 +0100
+++ b/tools/libxl/libxl.h       Mon Aug 16 15:31:04 2010 +0100
@@ -146,6 +146,8 @@ typedef char **libxl_key_value_list;
 typedef char **libxl_key_value_list;
 
 typedef uint64_t *libxl_cpumap;
+
+typedef uint32_t libxl_hwcap[8];
 
 typedef enum {
     XENFV = 1,
@@ -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;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.