summaryrefslogtreecommitdiff
path: root/tools/docs/parse-headers.py
diff options
context:
space:
mode:
authorYang Weijiang <weijiang.yang@intel.com>2025-08-12 05:55:11 +0300
committerSean Christopherson <seanjc@google.com>2025-08-19 21:59:49 +0300
commitc2aa58b226abf5ac6d355fb1f3b7c4284a7b5cab (patch)
tree77305c09088ce3c96c35c8d8c205d7c3ba916c24 /tools/docs/parse-headers.py
parentdb07f3d0eb19663d8fb61b40c19b26703c9a1b1a (diff)
downloadlinux-c2aa58b226abf5ac6d355fb1f3b7c4284a7b5cab.tar.xz
KVM: x86: Add kvm_msr_{read,write}() helpers
Wrap __kvm_{get,set}_msr() into two new helpers for KVM usage and use the helpers to replace existing usage of the raw functions. kvm_msr_{read,write}() are KVM-internal helpers, i.e. used when KVM needs to get/set a MSR value for emulating CPU behavior, i.e., host_initiated == %true in the helpers. Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Yang Weijiang <weijiang.yang@intel.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Tested-by: Mathias Krause <minipli@grsecurity.net> Tested-by: John Allen <john.allen@amd.com> Signed-off-by: Chao Gao <chao.gao@intel.com> Tested-by: Rick Edgecombe <rick.p.edgecombe@intel.com> Link: https://lore.kernel.org/r/20250812025606.74625-4-chao.gao@intel.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions