]> code.ossystems Code Review - openembedded-core.git/commit
qemurunner.py: wait for PID to appear in procfs
authorJuro Bystricky <juro.bystricky@intel.com>
Tue, 12 Sep 2017 19:23:27 +0000 (12:23 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 13 Sep 2017 20:59:57 +0000 (21:59 +0100)
commitd2d069fa9910d1c7a94c898355a63fca03ec5ad8
treec0b32a7a0572d57ba8b9011c9c066c4e7971046e
parent6a7c50def569b5e86aa17bd9b287e8c63781dcb0
qemurunner.py: wait for PID to appear in procfs

We need QEMU PID in order to access "/proc/<qemupid>/cmdline"
Having a valid QEMU PID does not mean we can access the proc entry
immediately, we need to wait for the /proc/<qemupid> to appear
before we can access it.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/qemurunner.py