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
parent4c62a2dc92518c5adf434df8e5c2283c6762672a (diff)
downloadlinux-stable-c39cbd2a0012334714409eec1e9cf4d542e359e9.tar.gz
linux-stable-c39cbd2a0012334714409eec1e9cf4d542e359e9.tar.bz2
linux-stable-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