]> code.ossystems Code Review - openembedded-core.git/commit
qemurunner: Add info log for qemu startup
authorSaul Wold <Saul.Wold@windriver.com>
Thu, 24 Jun 2021 20:42:42 +0000 (13:42 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Jun 2021 07:38:31 +0000 (08:38 +0100)
commit547f49230ba4ebeefe5b696e0460ebaffa8e91e6
treedb8c582b796c803cf4769801c35d754ecde49521
parent3d969e482d29da29828d1510f106f161d2b3d3c0
qemurunner: Add info log for qemu startup

Add a couple of logging info to track time between activities, first
is from after the Popen(launch_cmd) to after qmp.connect(), second is
from qmp.connect() to the release of the qemu via the qmp("cont") command
this includes the mmap() activity.

Example output:
QMP connected to QEMU at 06/24/21 11:11:56 and took 0.9556229114532471 seconds from launch
QMP released QEMU at 06/24/21 11:11:56 and took 0.26789021492004395 seconds from connect

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/qemurunner.py