Lines Matching full:path

89 static void restart_qemu_or_continue(char *path)  in restart_qemu_or_continue()  argument
92 qos_printf("Run QEMU with: '%s'\n", path); in restart_qemu_or_continue()
100 if (g_strcmp0(old_path, path)) { in restart_qemu_or_continue()
103 old_path = g_strdup(path); in restart_qemu_or_continue()
104 qtest_start(path); in restart_qemu_or_continue()
120 * items are node names forming the path to the test node.
136 * walks the path invoking all constructors and
164 char **path = (char **) arg; in run_one_test() local
165 GString *cmd_line = g_string_new(path[0]); in run_one_test()
169 current_path = path; in run_one_test()
170 test_node = qos_graph_get_node(path[(g_strv_length(path) - 1)]); in run_one_test()
185 const gchar *path = arg; in subprocess_run_one_test() local
186 g_test_trap_subprocess(path, 180 * G_USEC_PER_SEC, in subprocess_run_one_test()
199 * in this function, 2 path will be built:
200 * path_str, a one-string path (ex "pc/i440FX-pcihost/...")
201 * path_vec, a string-array path (ex [0] = "pc", [1] = "i440FX-pcihost").
206 * path_vec is used to allocate all constructors of the path nodes.
211 * path (see below). After it will contain the command line used to start
224 QOSGraphNode *path; in walk_path() local
241 path = qos_graph_get_node(node_name); /* root */ in walk_path()
242 node_name = qos_graph_edge_get_dest(path->path_edge); /* machine name */ in walk_path()
248 path = qos_graph_get_node(node_name); in walk_path()
249 if (!path->path_edge) { in walk_path()
253 node_name = qos_graph_edge_get_dest(path->path_edge); in walk_path()
256 if (path->command_line && etype == QEDGE_CONSUMED_BY) { in walk_path()
257 g_string_append(cmd_line, path->command_line); in walk_path()
262 path_vec[path_vec_size++] = qos_graph_edge_get_name(path->path_edge); in walk_path()
264 after_cmd = qos_graph_edge_get_after_cmd_line(path->path_edge); in walk_path()
265 after_device = qos_graph_edge_get_extra_device_opts(path->path_edge); in walk_path()
266 before_cmd = qos_graph_edge_get_before_cmd_line(path->path_edge); in walk_path()
267 edge = qos_graph_get_edge(path->name, node_name); in walk_path()
289 * The path must not have the <arch>, qtest_add_data_func adds it. in walk_path()
299 if (path->u.test.subprocess) { in walk_path()
322 * - Walks the graph, and each path is added to