summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-09-12 16:39:11 +0200
committerAvi Kivity <avi@redhat.com>2010-10-24 10:52:48 +0200
commitc39cbd2a0012334714409eec1e9cf4d542e359e9 (patch)
treee94140969bb45a0f8e861aabcba69661eda94287 /Documentation
parentKVM: X86: Report SVM bit to userspace only when supported (diff)
downloadlinux-c39cbd2a0012334714409eec1e9cf4d542e359e9.tar.xz
linux-c39cbd2a0012334714409eec1e9cf4d542e359e9.zip
KVM: Document that KVM_GET_SUPPORTED_CPUID may return emulated values
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/kvm/api.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/kvm/api.txt b/Documentation/kvm/api.txt
index 24d634128746..b336266bea5e 100644
--- a/Documentation/kvm/api.txt
+++ b/Documentation/kvm/api.txt
@@ -1042,8 +1042,9 @@ number is just right, the 'nent' field is adjusted to the number of valid
entries in the 'entries' array, which is then filled.
The entries returned are the host cpuid as returned by the cpuid instruction,
-with unknown or unsupported features masked out. The fields in each entry
-are defined as follows:
+with unknown or unsupported features masked out. Some features (for example,
+x2apic), may not be present in the host cpu, but are exposed by kvm if it can
+emulate them efficiently. The fields in each entry are defined as follows:
function: the eax value used to obtain the entry
index: the ecx value used to obtain the entry (for entries that are