diff options
| author | 2019-04-19 10:16:24 +0800 | |
|---|---|---|
| committer | 2019-06-04 19:27:33 +0200 | |
| commit | 4d22c17c17d228b7f43e51293c7bb7dac87dea40 (patch) | |
| tree | 68407331415563bba7bb9727e28546e930656b6b /include/linux/timerqueue.h | |
| parent | KVM: Directly return result from kvm_arch_check_processor_compat() (diff) | |
kvm: x86: refine kvm_get_arch_capabilities()
1. Using X86_FEATURE_ARCH_CAPABILITIES to enumerate the existence of
MSR_IA32_ARCH_CAPABILITIES to avoid using rdmsrl_safe().
2. Since kvm_get_arch_capabilities() is only used in this file, making
it static.
Signed-off-by: Xiaoyao Li <xiaoyao.li@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
