summaryrefslogtreecommitdiffstats
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorYu Zhang <yu.c.zhang@linux.intel.com>2017-08-24 14:27:52 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2017-08-24 18:09:15 +0200
commite911eb3b3414e62cbd9853e0a91c124f4a545c0f (patch)
treee8ac1e3c35b9d452ef099cd3b04f2c1f40fe5c25 /kernel/auditsc.c
parentkvm: vmx: Raise #UD on unsupported XSAVES/XRSTORS (diff)
downloadlinux-e911eb3b3414e62cbd9853e0a91c124f4a545c0f.tar.xz
linux-e911eb3b3414e62cbd9853e0a91c124f4a545c0f.zip
KVM: x86: Add return value to kvm_cpuid().
Return false in kvm_cpuid() when it fails to find the cpuid entry. Also, this routine(and its caller) is optimized with a new argument - check_limit, so that the check_cpuid_limit() fall back can be avoided. Signed-off-by: Yu Zhang <yu.c.zhang@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kernel/auditsc.c')
0 files changed, 0 insertions, 0 deletions