aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_pci.c
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-10-13 10:32:09 +0100
committerIan Campbell <ian.campbell@citrix.com>2011-10-13 10:32:09 +0100
commit10befefe28405f9c439066a64625738be3fd38f9 (patch)
treeeb5d1768a281005e6e010ba8815d01cbca53f6d4 /tools/libxl/libxl_pci.c
parent5d7156463e061da767f8b10dfc57fefb50d65eb4 (diff)
downloadxen-10befefe28405f9c439066a64625738be3fd38f9.tar.gz
xen-10befefe28405f9c439066a64625738be3fd38f9.tar.bz2
xen-10befefe28405f9c439066a64625738be3fd38f9.zip
libxl: libxl__e820_alloc must take a libxl__gc.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson.citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_pci.c')
-rw-r--r--tools/libxl/libxl_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/libxl/libxl_pci.c b/tools/libxl/libxl_pci.c
index 84a3647815..842d5b0463 100644
--- a/tools/libxl/libxl_pci.c
+++ b/tools/libxl/libxl_pci.c
@@ -1269,8 +1269,9 @@ static int e820_sanitize(libxl_ctx *ctx, struct e820entry src[],
return 0;
}
-int libxl__e820_alloc(libxl_ctx *ctx, uint32_t domid, libxl_domain_config *d_config)
+int libxl__e820_alloc(libxl__gc *gc, uint32_t domid, libxl_domain_config *d_config)
{
+ libxl_ctx *ctx = libxl__gc_owner(gc);
int rc;
uint32_t nr;
struct e820entry map[E820MAX];