From: Wei Liu Date: Wed, 30 Jan 2019 13:55:55 +0000 (+0000) Subject: x86/pvh-boot: don't mandate validity of RSDP pointer X-Git-Tag: xen-pt-allocation-1.1-base~39 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f15ff4d50011d6860e0e577b147b9f8b6670661d;p=people%2Fliuw%2Fxen.git x86/pvh-boot: don't mandate validity of RSDP pointer RSDP is not mandatory according to PVH spec. Remove the BUG_ON. The guest (xen) will fall back to scanning if necessary. Reported-by: Andrew Cooper Signed-off-by: Wei Liu Reviewed-by: Andrew Cooper Release-acked-by: Juergen Gross --- diff --git a/xen/arch/x86/guest/pvh-boot.c b/xen/arch/x86/guest/pvh-boot.c index 544775eeb4..ca8e156f7d 100644 --- a/xen/arch/x86/guest/pvh-boot.c +++ b/xen/arch/x86/guest/pvh-boot.c @@ -79,7 +79,6 @@ static void __init convert_pvh_info(multiboot_info_t **mbi, pvh_mbi_mods[i].string = entry[i].cmdline_paddr; } - BUG_ON(!pvh_info->rsdp_paddr); rsdp_hint = pvh_info->rsdp_paddr; *mbi = &pvh_mbi;