summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-07-07 14:09:39 +0300
committerAvi Kivity <avi@redhat.com>2010-08-02 06:40:38 +0300
commit2e2602ca5df09e4c4e2b593bc30abead9a8617d4 (patch)
tree25b9156612690fe6912e0e56a7839bc8073c9474
parent908e75f3e70ca580cc20442cf6780dcc2d0557b7 (diff)
downloadlinux-2e2602ca5df09e4c4e2b593bc30abead9a8617d4.tar.gz
linux-2e2602ca5df09e4c4e2b593bc30abead9a8617d4.tar.bz2
linux-2e2602ca5df09e4c4e2b593bc30abead9a8617d4.zip
KVM: Document MCE banks non-exposure via KVM_GET_MSR_INDEX_LIST
Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
-rw-r--r--Documentation/kvm/api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/kvm/api.txt b/Documentation/kvm/api.txt
index d9b00f15fbe6..179cc51c15e6 100644
--- a/Documentation/kvm/api.txt
+++ b/Documentation/kvm/api.txt
@@ -126,6 +126,10 @@ user fills in the size of the indices array in nmsrs, and in return
kvm adjusts nmsrs to reflect the actual number of msrs and fills in
the indices array with their numbers.
+Note: if kvm indicates supports MCE (KVM_CAP_MCE), then the MCE bank MSRs are
+not returned in the MSR list, as different vcpus can have a different number
+of banks, as set via the KVM_X86_SETUP_MCE ioctl.
+
4.4 KVM_CHECK_EXTENSION
Capability: basic