summary refs log tree commit diff stats
path: root/linux-user/i386/signal.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@csgraf.de>2022-10-05 00:56:43 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-10-11 09:36:01 +0200
commit37656470f67398dd10101d7d940d660053f60ff5 (patch)
tree7a41c313a4cd5a318baee87462f8a837121970bd /linux-user/i386/signal.c
parent860054d8ce4067ef2bc3deb2a98cf93350fc03e4 (diff)
downloadfocaccia-qemu-37656470f67398dd10101d7d940d660053f60ff5.tar.gz
focaccia-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/i386/signal.c')
0 files changed, 0 insertions, 0 deletions