Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c39cbd2a authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Document that KVM_GET_SUPPORTED_CPUID may return emulated values



Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 4c62a2dc
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -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.
entries in the 'entries' array, which is then filled.


The entries returned are the host cpuid as returned by the cpuid instruction,
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
with unknown or unsupported features masked out.  Some features (for example,
are defined as follows:
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
  function: the eax value used to obtain the entry
  index: the ecx value used to obtain the entry (for entries that are
  index: the ecx value used to obtain the entry (for entries that are