Searched refs:fdstr (Results 1 – 1 of 1) sorted by relevance
1138 static int socket_get_fd(const char *fdstr, Error **errp) in socket_get_fd() argument1143 fd = monitor_get_fd(cur_mon, fdstr, errp); in socket_get_fd()1148 if (qemu_strtoi(fdstr, NULL, 10, &fd) < 0) { in socket_get_fd()1151 fdstr); in socket_get_fd()1156 error_setg(errp, "File descriptor '%s' is not a socket", fdstr); in socket_get_fd()