diff options
author | Alexander Graf | 2022-10-05 00:56:43 +0200 |
---|---|---|
committer | Paolo Bonzini | 2022-10-11 09:36:01 +0200 |
commit | 37656470f67398dd10101d7d940d660053f60ff5 (patch) | |
tree | 7a41c313a4cd5a318baee87462f8a837121970bd /linux-user/uaccess.c | |
parent | i386: kvm: Add support for MSR filtering (diff) | |
download | qemu-37656470f67398dd10101d7d940d660053f60ff5.tar.gz qemu-37656470f67398dd10101d7d940d660053f60ff5.tar.xz qemu-37656470f67398dd10101d7d940d660053f60ff5.zip |
KVM: x86: Implement MSR_CORE_THREAD_COUNT MSR
The MSR_CORE_THREAD_COUNT MSR describes CPU package topology, such as number
of threads and cores for a given package. This is information that QEMU has
readily available and can provide through the new user space MSR deflection
interface.
This patch propagates the existing hvf logic from patch 027ac0cb516
("target/i386/hvf: add rdmsr 35H MSR_CORE_THREAD_COUNT") to KVM.
Signed-off-by: Alexander Graf <agraf@csgraf.de>
Message-Id: <20221004225643.65036-4-agraf@csgraf.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-user/uaccess.c')
0 files changed, 0 insertions, 0 deletions