diff options
| author | Eric Northup <digitaleric@gmail.com> | 2020-04-14 18:23:20 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-04-15 12:08:41 -0400 |
| commit | 43d05de2bee7561b7958628b7c27c89b779de990 (patch) | |
| tree | 9daf60c61357743b1ad8b1b555c8f91e69a96876 /tools/testing/selftests/kvm/lib/kvm_util.c | |
| parent | KVM: x86: Return updated timer current count register from KVM_GET_LAPIC (diff) | |
| download | linux-43d05de2bee7561b7958628b7c27c89b779de990.tar.gz linux-43d05de2bee7561b7958628b7c27c89b779de990.zip | |
KVM: pass through CPUID(0x80000006)
Return the host's L2 cache and TLB information for CPUID.0x80000006
instead of zeroing out the entry as part of KVM_GET_SUPPORTED_CPUID.
This allows a userspace VMM to feed KVM_GET_SUPPORTED_CPUID's output
directly into KVM_SET_CPUID2 (without breaking the guest).
Signed-off-by: Eric Northup (Google) <digitaleric@gmail.com>
Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Jon Cargille <jcargill@google.com>
Message-Id: <20200415012320.236065-1-jcargill@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/kvm_util.c')
0 files changed, 0 insertions, 0 deletions
