Skip to content

Commit

Permalink
KVM: Document that KVM_GET_SUPPORTED_CPUID may return emulated values
Browse files Browse the repository at this point in the history
Signed-off-by: Avi Kivity <[email protected]>
  • Loading branch information
avikivity committed Oct 24, 2010
1 parent 4c62a2d commit c39cbd2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Documentation/kvm/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c39cbd2

Please sign in to comment.