summaryrefslogtreecommitdiffstats
path: root/linux-user/loader.h
diff options
context:
space:
mode:
authorAlexander Graf2022-10-05 00:56:42 +0200
committerPaolo Bonzini2022-10-11 09:36:01 +0200
commit860054d8ce4067ef2bc3deb2a98cf93350fc03e4 (patch)
treeab5395d13844ca7c223f7f58ad6824829c3e0157 /linux-user/loader.h
parentx86: Implement MSR_CORE_THREAD_COUNT MSR (diff)
downloadqemu-860054d8ce4067ef2bc3deb2a98cf93350fc03e4.tar.gz
qemu-860054d8ce4067ef2bc3deb2a98cf93350fc03e4.tar.xz
qemu-860054d8ce4067ef2bc3deb2a98cf93350fc03e4.zip
i386: kvm: Add support for MSR filtering
KVM has grown support to deflect arbitrary MSRs to user space since Linux 5.10. For now we don't expect to make a lot of use of this feature, so let's expose it the easiest way possible: With up to 16 individually maskable MSRs. This patch adds a kvm_filter_msr() function that other code can call to install a hook on KVM MSR reads or writes. Signed-off-by: Alexander Graf <agraf@csgraf.de> Message-Id: <20221004225643.65036-3-agraf@csgraf.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-user/loader.h')
0 files changed, 0 insertions, 0 deletions