projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aea924f
)
KVM: Expose MCE control MSRs to userspace
author
Avi Kivity
<avi@redhat.com>
Wed, 7 Jul 2010 11:09:38 +0000
(14:09 +0300)
committer
Avi Kivity
<avi@redhat.com>
Mon, 2 Aug 2010 03:40:36 +0000
(06:40 +0300)
Userspace needs to reset and save/restore these MSRs.
The MCE banks are not exposed since their number varies from vcpu to vcpu.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/x86.c
b/arch/x86/kvm/x86.c
index d721e2d81a53a0f84580e4f93e40fb05c2c18ffb..eb55ec55125c27963e1c72e39304474f1d06ce42 100644
(file)
--- a/
arch/x86/kvm/x86.c
+++ b/
arch/x86/kvm/x86.c
@@
-744,6
+744,8
@@
static unsigned num_msrs_to_save;
static u32 emulated_msrs[] = {
MSR_IA32_MISC_ENABLE,
+ MSR_IA32_MCG_STATUS,
+ MSR_IA32_MCG_CTL,
};
static int set_efer(struct kvm_vcpu *vcpu, u64 efer)
This page took
0.027963 seconds
and
5
git commands to generate.