diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-07-25 16:34:33 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-26 13:16:41 +0100 |
commit | c467bc856963d701e5a7d63f6e85e1361244489a (patch) | |
tree | b59161da2629c6fedd7125fe1c30a8452fca9204 /bitbake | |
parent | 18225a16a4beb282add7d48770de13b2ca0412ec (diff) | |
download | poky-c467bc856963d701e5a7d63f6e85e1361244489a.tar.gz |
qemurunner.py: fix is_alive() to avoid confusing with recycled pid
[YOCTO #12493]
Fixed:
- qemu started with pid 10000
- qemu exited unexpectedly
- The pid 10000 is re-used by another different process.
The is_alive() returned True in such a case because both qemu_pidfile and
/proc/10000 exist, but it's another process, this patch fixed the problem.
(From OE-Core rev: 78033af85698b4e112ae78e3140b241b1b3c06a3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
0 files changed, 0 insertions, 0 deletions