def METHOD_NAME(test, params, host, server_ctl, fd, test_duration):
    """
    Get host kernel/qemu/guest kernel version
    """
    ver_cmd = params.get("ver_cmd", "rpm -q qemu-kvm")
    guest_ver_cmd = params.get("guest_ver_cmd", "uname -r")
    test.write_test_keyval({'kvm-userspace-ver': ssh_cmd(
                            host, ver_cmd).strip()})
    test.write_test_keyval({'guest-kernel-ver': ssh_cmd(
                            server_ctl, guest_ver_cmd).strip()})
    test.write_test_keyval({'session-length': test_duration})
    fd.write('### kvm-userspace-ver : %s\n' % ssh_cmd(
                                            host, ver_cmd).strip())
    fd.write('### guest-kernel-ver : %s\n' % ssh_cmd(
                                server_ctl, guest_ver_cmd).strip())
    fd.write('### kvm_version : %s\n' % os.uname()[2])
    fd.write('### session-length : %s\n' % test_duration)