From ec527f3ef9959cddae504233f03164d5140e2bad Mon Sep 17 00:00:00 2001 From: Andre Przywara Date: Fri, 19 Nov 2010 18:15:14 +0000 Subject: libxc: fix tracing (broken with hypercall buffers) the attached patch makes Xen tracing work again, after the introduction of the hypercall buffers broke it. Just a missing line. Thanks to Uwe Dannowski for reporting this. Signed-off-by: Andre Przywara Acked-by: Ian Campbell Signed-off-by: Ian Jackson --- tools/libxc/xc_tbuf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/libxc/xc_tbuf.c') diff --git a/tools/libxc/xc_tbuf.c b/tools/libxc/xc_tbuf.c index 5f91b6eeef..b52fa8fa87 100644 --- a/tools/libxc/xc_tbuf.c +++ b/tools/libxc/xc_tbuf.c @@ -121,6 +121,7 @@ int xc_tbuf_set_cpu_mask(xc_interface *xch, uint32_t mask) uint64_t mask64 = mask; bytemap = xc_hypercall_buffer_alloc(xch, bytemap, sizeof(mask64)); + if (bytemap == NULL) { PERROR("Could not allocate memory for xc_tbuf_set_cpu_mask hypercall"); goto out; -- cgit v1.2.3