Commit c39cbd2a authored by Avi Kivity's avatar Avi Kivity

KVM: Document that KVM_GET_SUPPORTED_CPUID may return emulated values

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 4c62a2dc
...@@ -1042,8 +1042,9 @@ number is just right, the 'nent' field is adjusted to the number of valid ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment