Home
last modified time | relevance | path

Searched refs:pidfile (Results 1 – 14 of 14) sorted by path

/qemu/audio/
H A Dpaaudio.c831 char pidfile[64]; in qpa_audio_init() local
840 snprintf(pidfile, sizeof(pidfile), "%s/pulse/pid", runtime); in qpa_audio_init()
841 if (stat(pidfile, &st) != 0) { in qpa_audio_init()
842 error_setg_errno(errp, errno, "could not stat pidfile %s", pidfile); in qpa_audio_init()
/qemu/docs/interop/
H A Dqemu-ga.rst52 .. option:: -f, --pidfile=PATH
114 pidfile = /var/run/qemu-ga.pid
129 pidfile string
/qemu/docs/system/devices/
H A Divshmem.rst27 ivshmem-server -p pidfile -S path -m shm-name -l shm-size -n vectors
/qemu/docs/tools/
H A Dqemu-pr-helper.rst61 .. option:: -f, --pidfile=PATH
H A Dqemu-storage-daemon.rst165 .. option:: --pidfile PATH
/qemu/include/qemu/
H A Dosdep.h623 bool qemu_write_pidfile(const char *pidfile, Error **errp);
/qemu/
H A Dqemu-options.hx4389 DEF("pidfile", HAS_ARG, QEMU_OPTION_pidfile, \
4390 "-pidfile file write PID to 'file'\n", QEMU_ARCH_ALL)
4392 ``-pidfile file``
/qemu/qga/
H A Dmain.c63 const char *pidfile; member
135 g_assert(dfl_pathnames.pidfile == NULL); in init_dfl_pathnames()
137 dfl_pathnames.pidfile = g_build_filename(state, QGA_STATE_RELATIVE_DIR, "qemu-ga.pid", NULL); in init_dfl_pathnames()
277 dfl_pathnames.pidfile, in usage()
541 static void become_daemon(const char *pidfile) in become_daemon() argument
554 if (pidfile) { in become_daemon()
557 if (!qemu_write_pidfile(pidfile, &err)) { in become_daemon()
579 if (pidfile) { in become_daemon()
580 unlink(pidfile); in become_daemon()
1592 config->pid_filepath = g_strdup(dfl_pathnames.pidfile); in main()
/qemu/scsi/
H A Dqemu-pr-helper.c65 static char *pidfile; variable
83 pidfile = g_build_filename(state, "run", "qemu-pr-helper.pid", NULL); in compute_default_paths()
108 , name, pidfile, socket_path); in usage()
926 g_free(pidfile); in main()
927 pidfile = g_strdup(optarg); in main()
1057 qemu_write_pidfile(pidfile, &error_fatal); in main()
/qemu/tests/data/
H A Dtest-qga-config5 pidfile=/var/foo/qemu-ga.pid
/qemu/tests/qemu-iotests/
H A D108335 --pidfile "$TEST_DIR/qsd.pid" \
H A D185245 --pidfile "$TEST_DIR/qsd.pid" \
H A Dcommon.rc524 local pidfile
548 pidfile="$QEMU_TEST_DIR/qemu-storage-daemon.pid"
551 while [ ! -f "$pidfile" ]; do
555 pid=$(cat "$pidfile")
556 rm -f "$pidfile"
H A Diotests.py430 self.pidfile = os.path.join(test_dir, f'qsd-{instance_id}-pid')
431 all_args = [qsd_prog] + list(args) + ['--pidfile', self.pidfile]
446 while not os.path.exists(self.pidfile):
455 with open(self.pidfile, encoding='utf-8') as f:
488 os.remove(self.pidfile)