]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa/utils/qemurunner.py: Handle QEMU machines with a single serial
authorNathan Rossi <nathan@nathanrossi.com>
Mon, 25 Nov 2019 06:56:56 +0000 (06:56 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Nov 2019 13:23:27 +0000 (13:23 +0000)
commit333897c4a00b41681ffe34312a08cae09274327e
tree13199ee7eff6849ae5c570e862aa5770922fe0ab
parentc999bc5ddd9beb5274f77b885e2ac71205e42266
oeqa/utils/qemurunner.py: Handle QEMU machines with a single serial

Not all QEMU machines are capable of having more than one serial port,
this is due to the machine emulating a physical device/board.

Rework QemuRunner to handle machines that only have 1 serial port, where
the serial port shares output of the kernel log buffer and a login
console. In this case the output is mixed but enables the machine to
boot and have QemuRunner detect the login prompt.

QemuTarget uses SERIAL_CONSOLES to determine the number of available
serial ports.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/targetcontrol.py
meta/lib/oeqa/utils/qemurunner.py