]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Implement IA32_EBL_CR_POWERON msr
authorMatthew Gregan <kinetik@flim.org>
Sun, 6 May 2007 07:59:46 +0000 (10:59 +0300)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jul 2007 09:05:40 +0000 (12:05 +0300)
commit065a8a7ff93e7087b92e82faa1bf446a924d732f
tree485a6492c644235dcc80956d74000cf2e1b63195
parente0e4e38a2f62cb0b8045e5ac0d1a1ce20f4ed684
KVM: Implement IA32_EBL_CR_POWERON msr

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: Matthew Gregan <kinetik@flim.org>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c