]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Introduce x2APIC register manipulation functions
authorJim Mattson <jmattson@google.com>
Fri, 4 Jun 2021 17:26:09 +0000 (10:26 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Jun 2021 17:09:32 +0000 (13:09 -0400)
commit228ca5a83916e84db6f5bd3f7a5481ddeccb45c5
tree83b10b63fbea6308d02e0640945f6eb9a8aaf93c
parenta812ee54b50a5db3c436b94aef2e25476c8d564f
KVM: selftests: Introduce x2APIC register manipulation functions

Standardize reads and writes of the x2APIC MSRs.

Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Oliver Upton <oupton@google.com>
Message-Id: <20210604172611.281819-11-jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/x86_64/apic.h
tools/testing/selftests/kvm/lib/x86_64/apic.c
tools/testing/selftests/kvm/x86_64/smm_test.c