aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_hvm_build_x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libxc/xc_hvm_build_x86.c')
-rw-r--r--tools/libxc/xc_hvm_build_x86.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/libxc/xc_hvm_build_x86.c b/tools/libxc/xc_hvm_build_x86.c
index eff55a48ac..8bb0178dc5 100644
--- a/tools/libxc/xc_hvm_build_x86.c
+++ b/tools/libxc/xc_hvm_build_x86.c
@@ -524,6 +524,9 @@ static int setup_guest(xc_interface *xch,
error_out:
rc = -1;
out:
+ if ( elf_check_broken(&elf) )
+ ERROR("HVM ELF broken: %s", elf_check_broken(&elf));
+
/* ensure no unclaimed pages are left unused */
xc_domain_claim_pages(xch, dom, 0 /* cancels the claim */);