aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorXiaoyao Li <[email protected]>2019-02-14 04:08:58 +0000
committerPaolo Bonzini <[email protected]>2019-02-14 15:22:20 +0000
commit98ae70cc476e833332a2c6bb72f941a25f0de226 (patch)
tree1a076c69b46dafb9794282646d61de91d5622d82 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentKVM: x86: Recompute PID.ON when clearing PID.SN (diff)
downloadkernel-98ae70cc476e833332a2c6bb72f941a25f0de226.tar.gz
kernel-98ae70cc476e833332a2c6bb72f941a25f0de226.zip
kvm: vmx: Fix entry number check for add_atomic_switch_msr()
Commit ca83b4a7f2d068da79a0 ("x86/KVM/VMX: Add find_msr() helper function") introduces the helper function find_msr(), which returns -ENOENT when not find the msr in vmx->msr_autoload.guest/host. Correct checking contion of no more available entry in vmx->msr_autoload. Fixes: ca83b4a7f2d0 ("x86/KVM/VMX: Add find_msr() helper function") Cc: [email protected] Signed-off-by: Xiaoyao Li <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions