VERBOSE had ceased to exist already before the introduction of this ELF
parsing code.
Fixes: 62ba982424cb ("x86: parse Dom0 kernel for PVHv2")
Signed-off-by: Jan Beulich <[email protected]>
--- a/xen/arch/x86/hvm/dom0_build.c
+++ b/xen/arch/x86/hvm/dom0_build.c
@@ -557,9 +557,8 @@ static int __init pvh_load_kernel(struct
printk("Unable to init ELF\n");
return rc;
}
-#ifdef VERBOSE
- elf_set_verbose(&elf);
-#endif
+ if ( opt_dom0_verbose )
+ elf_set_verbose(&elf);
elf_parse_binary(&elf);
if ( (rc = elf_xen_parse(&elf, &parms, true)) != 0 )
{