diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2018-09-04 23:57:32 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-10-17 00:29:41 +0200 |
commit | daefb7949e661e2ee5e40dc5ca51e5bf42f6c823 (patch) | |
tree | 842fc16de750cb7fe0105bf05cfc8f64484cd74c /arch/x86/include/asm/kvm_host.h | |
parent | nVMX x86: Make nested_vmx_check_pml_controls() concise (diff) | |
download | linux-dev-daefb7949e661e2ee5e40dc5ca51e5bf42f6c823.tar.xz linux-dev-daefb7949e661e2ee5e40dc5ca51e5bf42f6c823.zip |
KVM: x86: return 0 in case kvm_mmu_memory_cache has min number of objects
The code tries to pre-allocate *min* number of objects, so it is ok to
return 0 when the kvm_mmu_memory_cache meets the requirement.
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
0 files changed, 0 insertions, 0 deletions