]> code.ossystems Code Review - openembedded-core.git/commit
qemurunner: Sanitize output from qemu and qemu pid
authorMariano Lopez <mariano.lopez@linux.intel.com>
Mon, 28 Sep 2015 12:49:47 +0000 (12:49 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Sep 2015 14:15:48 +0000 (15:15 +0100)
commit9f25f723828d6709aad581267ccc63d2ade1ff5c
tree42ecf164f8b67961b962c1d2b8988a1b6b90f620
parent3bf5204315fedc586fdf641583cfdb2c1a78c5c0
qemurunner: Sanitize output from qemu and qemu pid

Currently the output from qemu could contain control
or Unicode characters; having such characters in the
log will cause an internal server error when sending
the report to error reporting web. Control characters
can be found in the command line used to run quemu too.

This change sanitize the output from qemu and the
command line used to run qemu, this way the logs doesn't
contain control or Unicode characters and this will solve
the issue of error reporting web and generate better
logs.

The only Unicode character found in the qemu output
is the copyright symbol, it really doesn't interfer
removing Unicode characters with debugging.

[YOCTO #8225]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/qemurunner.py