]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: align shadow CR4.MCE with host
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 9 Apr 2008 12:15:29 +0000 (14:15 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 09:01:18 +0000 (12:01 +0300)
commit318e3ac032bd86532ba38d370ef2628b1bf0cf87
tree71c4d3e7cda2adcdfd3717bc40aa4e2b89c87e53
parente8cf12e9acd410764fc37ccd42f497fdbb94d5fc
KVM: SVM: align shadow CR4.MCE with host

This patch aligns the host version of the CR4.MCE bit with the CR4 active in
the guest. This is necessary to get MCE exceptions when the guest is running.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/svm.c