Searched refs:pid_file (Results 1 – 4 of 4) sorted by relevance
/qemu/storage-daemon/ |
H A D | qemu-storage-daemon.c | 64 static const char *pid_file; variable 354 pid_file = optarg; in process_options() 375 if (!pid_file) { in pid_file_init() 379 if (!qemu_write_pidfile(pid_file, &err)) { in pid_file_init() 385 if (!realpath(pid_file, pid_file_realpath)) { in pid_file_init() 387 pid_file, strerror(errno)); in pid_file_init() 388 unlink(pid_file); in pid_file_init()
|
/qemu/contrib/ivshmem-server/ |
H A D | main.c | 30 const char *pid_file; member 92 args->pid_file = optarg; in ivshmem_server_parse_args() 195 .pid_file = IVSHMEM_SERVER_DEFAULT_PID_FILE, in main() 256 fp = fopen(args.pid_file, "w"); in main()
|
/qemu/tests/qemu-iotests/ |
H A D | iotests.py | 519 pid_file = file_path("qemu_nbd_popen-nbd-pid-file") 521 assert not os.path.exists(pid_file) 524 cmd.extend(('--persistent', '--pid-file', pid_file)) 530 while not os.path.exists(pid_file): 539 if os.path.exists(pid_file): 540 os.remove(pid_file)
|
/qemu/system/ |
H A D | vl.c | 1610 static const char *pid_file; variable 2558 static void qemu_maybe_daemonize(const char *pid_file) in qemu_maybe_daemonize() argument 2565 if (pid_file) { in qemu_maybe_daemonize() 2568 if (!qemu_write_pidfile(pid_file, &err)) { in qemu_maybe_daemonize() 2574 if (!realpath(pid_file, pid_file_realpath)) { in qemu_maybe_daemonize() 2577 "file path: %s: %s", pid_file, strerror(errno)); in qemu_maybe_daemonize() 3275 pid_file = optarg; in qemu_init() 3657 qemu_maybe_daemonize(pid_file); in qemu_init()
|