x86/PVH: allow Dom0 ELF parsing to be verbose

VERBOSE had ceased to exist already before the introduction of this ELF
parsing code.

Fixes: 62ba982424 ("x86: parse Dom0 kernel for PVHv2")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
This commit is contained in:
Jan Beulich committed 2023-11-03 11:22:18 +01:00
1 parent 9589296e9c
commit ea3dabfb80
1 file changed
+2 -3
+2 -3
View File
@@ -557,9 +557,8 @@ static int __init pvh_load_kernel(struct domain *d, const module_t *image,
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 )
{
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.