tests: uml: Request non-raw serial ports
When the serial ports are set into raw mode on stdio (fd:0,fd:1) then Ctrl-C is sort of passed through, but not effective. Request non-raw mode to avoid that and let us cancel test execution with Ctrl-C properly (both in parallel-vm.py and vm-run.sh cases). Note that this requires a currently out-of-tree patch, but so does the virtual time. If the patch is not applied, the command line argument is ignored. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
d5d156bd92
commit
2080f4c779
1 changed files with 1 additions and 0 deletions
|
@ -172,6 +172,7 @@ if [ -z $KVM ]; then
|
||||||
root=none hostfs=/ rootfstype=hostfs rootflags=/ \
|
root=none hostfs=/ rootfstype=hostfs rootflags=/ \
|
||||||
ssl0=fd:0,fd:1 \
|
ssl0=fd:0,fd:1 \
|
||||||
ssl1=fd:100 \
|
ssl1=fd:100 \
|
||||||
|
ssl-non-raw \
|
||||||
100<>$LOGDIR/console 2>&1 | \
|
100<>$LOGDIR/console 2>&1 | \
|
||||||
sed -u '0,/VM has started up/d'
|
sed -u '0,/VM has started up/d'
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue