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

[Xen-devel] [PATCH 2 of 8] tools: libxc: enable libelf logging for HVM domain builder



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1305294079 -3600
# Node ID 996d74359377c4c0c15c1e988a017613f872af65
# Parent  c5c7ae5f33b16ee03535e9c688ad9bee2510b2b6
tools: libxc: enable libelf logging for HVM domain builder.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>:

diff -r c5c7ae5f33b1 -r 996d74359377 tools/libxc/xc_hvm_build.c
--- a/tools/libxc/xc_hvm_build.c        Fri May 13 14:41:19 2011 +0100
+++ b/tools/libxc/xc_hvm_build.c        Fri May 13 14:41:19 2011 +0100
@@ -163,6 +163,9 @@ static int setup_guest(xc_interface *xch
     memset(&elf, 0, sizeof(elf));
     if ( elf_init(&elf, image, image_size) != 0 )
         goto error_out;
+
+    xc_elf_set_logfile(xch, &elf, 1);
+
     elf_parse_binary(&elf);
     v_start = 0;
     v_end = (unsigned long long)memsize << 20;

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


 


Rackspace

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