def METHOD_NAME(cmd, driver_id):
    """
    Load driver
    :param cmd: Driver load cmd
    :param driver_id: Driver id in windows guest
    """
    nic_index = len(vm.virtnet) - 1
    session = vm.wait_for_login(nic_index=nic_index)
    if params["os_type"] == "windows":
        cmd = cmd.replace("DRIVER_ID", driver_id)
    status, output = session.cmd_status_output(cmd)
    session.close()
    if status != 0:
        test.fail("failed to load driver, %s" % output)