瀏覽代碼

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>
Avi Kivity 15 年之前
父節點
當前提交
2e2602ca5d
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Documentation/kvm/api.txt

+ 4 - 0
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