]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/utils/qemurunner.py: Be sure to stop qemu-system
authorMariano Lopez <mariano.lopez@linux.intel.com>
Fri, 13 Jan 2017 14:33:55 +0000 (14:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2017 22:45:46 +0000 (22:45 +0000)
commit9d2b1aa1bcfb2f1933a8eeb9470b4174d5da2f0d
tree55d2e419b5d57654e3ea3279759cac4d81815d92
parent66f66d1d763ff7bbaab9e8fcdf7fc882f2dfbb13
oeqa/utils/qemurunner.py: Be sure to stop qemu-system

When runqemu fails, qemu-system process would keep running
and won't be killed, setpgrp() was used when runqemu was
a shell script but it seems it doesn't work always with python.

This would kill qemu-system explicity and to avoid leaving
it behind.

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/testimage.bbclass
meta/lib/oeqa/utils/qemurunner.py