[PATCH v2] x86: Introduce a new option --reuse-video-type

Simon Horman horms at verge.net.au
Wed Mar 6 04:51:42 PST 2019

On Wed, Mar 06, 2019 at 05:34:23PM +0800, Dave Young wrote:
> On 03/05/19 at 07:34pm, Kairui Song wrote:
> > After commit 060eee58 "x86: use old screen_info if needed", kexec-tools
> > will force use old screen_info and vga type if failed to determine
> > current vga type. But it is not always a good idea.
> > 
> > Currently kernel hanging is inspected on some hyper-v VMs after this
> > commit, because hyperv_fb will mimic EFI (or VESA) VGA on first boot
> > up, but after the real driver is loaded, it will switch to new mode
> > and no longer compatible with EFI/VESA VGA. Keep setting
> > orig_video_isVGA to EFI/VESA VGA flag will get wrong driver loaded and
> > try to manipulate the framebuffer in a wrong way.
> > 
> > We can't ensure this won't happen on other framebuffer drivers, But
> > it's a helpful feature if the framebuffer drivers just work. So this
> > patch introduce a --reuse-video-type options to let user decide if the
> > old screen_info hould be used unconditional or not.
> > 
> > Signed-off-by: Kairui Song <kasong at redhat.com>


> Reviewed-by: Dave Young <dyoung at redhat.com>

Thanks, applied

More information about the kexec mailing list