subsequent operations, just as a success/failure indicator, return (kvm_f != NULL) instead of the non-portable cast (int)kvm_f.