]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Expose MCE control MSRs to userspace
authorAvi Kivity <avi@redhat.com>
Wed, 7 Jul 2010 11:09:38 +0000 (14:09 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 03:40:36 +0000 (06:40 +0300)
commitb789d4a683f80d2258ff381f13a93d0e2dd19ccc
tree75d91303b792e8a176761bbb673a46fc23b44696
parentb1188061a9befa24f018a4b0d59ebb03cbdf9e79
KVM: Expose MCE control MSRs to userspace

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