]> xenbits.xensource.com Git - people/liuw/xen.git/commitdiff
x86/pvh-boot: don't mandate validity of RSDP pointer
authorWei Liu <wei.liu2@citrix.com>
Wed, 30 Jan 2019 13:55:55 +0000 (13:55 +0000)
committerWei Liu <wei.liu2@citrix.com>
Wed, 30 Jan 2019 14:49:07 +0000 (14:49 +0000)
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 <andrew.cooper3@citrix.com>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooepr3@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/x86/guest/pvh-boot.c

index 544775eeb42b3e21119fd6df4a321f331bf6a4b1..ca8e156f7dc388e768e254dd4b194e375937c008 100644 (file)
@@ -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;