Re: [Qemu-devel] [PATCH] tests: Exit boot-serial-test loop if child dies

2018-12-17 Thread Wainer dos Santos Moschetta
On 12/17/2018 01:58 AM, Richard Henderson wrote: There's no point in waiting 5 full minutes when there will be no more output. Compute timeout based on elapsed wall clock time instead of N * delays, as the delay is a minimum sleep time. Cc: Thomas Huth Cc: Laurent Vivier Cc: Paolo Bonzini

Re: [Qemu-devel] [PATCH] tests: Exit boot-serial-test loop if child dies

2018-12-17 Thread Philippe Mathieu-Daudé
On 12/17/18 4:58 AM, Richard Henderson wrote: > There's no point in waiting 5 full minutes when there will be > no more output. Compute timeout based on elapsed wall clock > time instead of N * delays, as the delay is a minimum sleep time. > > Cc: Thomas Huth > Cc: Laurent Vivier > Cc: Paolo Bo

Re: [Qemu-devel] [PATCH] tests: Exit boot-serial-test loop if child dies

2018-12-17 Thread Thomas Huth
On 2018-12-17 04:58, Richard Henderson wrote: > There's no point in waiting 5 full minutes when there will be > no more output. Sounds like a very good idea, indeed. As a follow up patch, we should likely use this in the other tests that use TCG, too (i.e. in boot_sector_test() in tests/boot-sect

[Qemu-devel] [PATCH] tests: Exit boot-serial-test loop if child dies

2018-12-16 Thread Richard Henderson
There's no point in waiting 5 full minutes when there will be no more output. Compute timeout based on elapsed wall clock time instead of N * delays, as the delay is a minimum sleep time. Cc: Thomas Huth Cc: Laurent Vivier Cc: Paolo Bonzini Signed-off-by: Richard Henderson --- tests/libqtest