x86/pvh: Override opt_console_xen earlier
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 27 Apr 2020 12:19:15 +0000 (13:19 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 27 Apr 2020 20:31:48 +0000 (21:31 +0100)
commitdd0882f912005b56653013025ebd160862e360ad
tree60f1a5feaf87fd4e83cc05e4a9b73405e30ac358
parentd059260755fdec1614136b39fc65ddc48f5fd729
x86/pvh: Override opt_console_xen earlier

This allows printk() to work from the start of day, and backtraces from as
early as the IDT is set up.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wl@xen.org>
xen/arch/x86/boot/head.S
xen/arch/x86/setup.c