• Matthew Gregan's avatar
    KVM: Implement IA32_EBL_CR_POWERON msr · 2dc7094b
    Matthew Gregan authored
    Attempting to boot the default 'bsd' kernel of OpenBSD 4.1 i386 in a guest
    fails early in the kernel init inside p3_get_bus_clock while trying to read
    the IA32_EBL_CR_POWERON MSR.  KVM logs an 'unhandled MSR' message and the
    guest kernel faults.
    
    This patch is sufficient to allow OpenBSD to boot, after which it seems to
    run fine.  I'm not sure if this is the correct solution for dealing with
    this particular MSR, but it works for me.
    Signed-off-by: default avatarMatthew Gregan <kinetik@flim.org>
    Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
    2dc7094b
kvm_main.c 68.6 KB