static void init_dfl_pathnames(void) { g_assert(dfl_pathnames.state_dir == NULL); g_assert(dfl_pathnames.pidfile == NULL); dfl_pathnames.state_dir = qemu_get_local_state_pathname( QGA_STATE_RELATIVE_DIR); dfl_pathnames.pidfile = qemu_get_local_state_pathname( QGA_STATE_RELATIVE_DIR G_DIR_SEPARATOR_S "qemu-ga.pid"); }
static void compute_default_paths(void) { socket_path = qemu_get_local_state_pathname("run/qemu-pr-helper.sock"); pidfile = qemu_get_local_state_pathname("run/qemu-pr-helper.pid"); }