diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2019-07-12 15:31:13 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-15 09:29:59 +0100 |
commit | 7a6b2ce603a44db60a3ba7a4a62ec3c04c1db656 (patch) | |
tree | 7d8930e0ceb8c50245f996fbcce2c1aa5c913fe8 /scripts/runqemu | |
parent | 41bac92fdbf893370dc830b6f810118eed25e05d (diff) | |
download | poky-7a6b2ce603a44db60a3ba7a4a62ec3c04c1db656.tar.gz |
qemurunner.py: fix race condition at qemu startup
When handling pid file, qemu would first create the file, stat it,
lock it and then write actually contents to it.
So it's possbile that when reading the pid file, the content is empty.
[YOCTO #13390]
(From OE-Core rev: 170e59b203a02f8438b9aeab3a45f6fcd6608b1f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
0 files changed, 0 insertions, 0 deletions