• Rusty Russell's avatar
    [PATCH] i386: paravirt unhandled fallthrough · 992af681
    Rusty Russell authored
    The current code simply calls "start_kernel" directly if we're under a
    hypervisor and no paravirt_ops backend wants us, because paravirt.c
    registers that as a backend.
    
    This was always a vain hope; start_kernel won't get far without setup.
    It's also impossible for paravirt_ops backends which don't sit in the
    arch/i386/kernel directory: they can't link before paravirt.o anyway.
    
    Keep it simple: if we pass all the registered paravirt probes, BUG().
    Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    992af681
paravirt.c 13.4 KB