]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: kvm/x86: Introduce x86_model()
authorJim Mattson <jmattson@google.com>
Sat, 15 Jan 2022 05:24:30 +0000 (21:24 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Jan 2022 17:12:15 +0000 (12:12 -0500)
commit77d40b543086bfa50a70927185779c8e9803ef3c
tree58faf6f69cea4cc8fc18b94a09d91ea22af06f92
parent510fb6f7984196e8b509024731458c9d96bb0d54
selftests: kvm/x86: Introduce x86_model()

Extract the x86 model number from CPUID.01H:EAX.

Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220115052431.447232-6-jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/x86_64/processor.h