[OE-core] [PATCH 1/1] targetcontrol.py: test sudo available while invoking runqemu

2014-09-03 Thread Hongxu Jia
While TEST_TARGET is qemu, the QemuRunner class invokes runqemu to start qemu, and runqemu needs sudo to set up tap interface. While sudo is not available, the exit of QemuRunner will cost 60 seconds and the exit message is not clear, so we add sudo available test for QemuRunner before invoking

Re: [OE-core] [PATCH 1/1] targetcontrol.py: test sudo available while invoking runqemu

2014-09-03 Thread ChenQi
On 09/03/2014 02:32 PM, Hongxu Jia wrote: While TEST_TARGET is qemu, the QemuRunner class invokes runqemu to start qemu, and runqemu needs sudo to set up tap interface. While sudo is not available, the exit of QemuRunner will cost 60 seconds and the exit message is not clear, so we add sudo