Home
last modified time | relevance | path

Searched refs:qemu_pid (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-test-1-run-qemu.sh64 qemu_pid=`cat "$resdir/qemu-pid"`
65 echo Monitoring qemu job at pid $qemu_pid `date`
67 qemu_pid=""
91 if test -z "$qemu_pid" && test -s "$resdir/qemu-pid"
93 qemu_pid=`cat "$resdir/qemu-pid"`
96 if test -z "$qemu_pid" || kill -0 "$qemu_pid" > /dev/null 2>&1
124 if test -z "$qemu_pid" && test -s "$resdir/qemu-pid"
126 qemu_pid=`cat "$resdir/qemu-pid"`
128 if test $commandcompleted -eq 0 && test -n "$qemu_pid"
132 echo Grace period for qemu job at pid $qemu_pid `date`
[all …]
H A Dkvm-again.sh182 rm -f "$rundir"/*/{console.log,console.log.diags,qemu_pid,qemu-pid,qemu-retval,Warnings,kvm-test-1-…
/openbmc/qemu/tests/qtest/
H A Dlibqtest.c78 pid_t qemu_pid; /* our child QEMU process */ member
152 return s->qemu_pid; in qtest_pid()
157 pid_t pid = s->qemu_pid; in qtest_probe_child()
172 s->qemu_pid = -1; in qtest_probe_child()
185 assert(s->qemu_pid == -1); in qtest_check_status()
220 if (s->qemu_pid != -1) { in qtest_wait_qemu()
229 pid = waitpid(s->qemu_pid, &s->wstatus, WNOHANG); in qtest_wait_qemu()
237 kill(s->qemu_pid, SIGKILL); in qtest_wait_qemu()
238 pid = RETRY_ON_EINTR(waitpid(s->qemu_pid, &s->wstatus, 0)); in qtest_wait_qemu()
241 assert(pid == s->qemu_pid); in qtest_wait_qemu()
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dqemurunner.py304 qemu_pid = None
307 qemu_pid = f.read().strip()
310 …qemu.poll(), os.path.isfile(self.qemu_pidfile), str(qemu_pid), os.path.exists("/proc/" + str(qemu_…
636 qemu_pid = f.read().strip()
641 if not qemu_pid:
645 if os.path.exists("/proc/" + qemu_pid):
646 self.qemupid = int(qemu_pid)