Re: [PATCH v8 12/12] tests/vm: Add workaround to consume console

2020-06-01 Thread Robert Foley
On Sun, 31 May 2020 at 07:27, Philippe Mathieu-Daudé wrote: > > On 5/29/20 10:34 PM, Robert Foley wrote: > > @@ -271,7 +276,9 @@ class BaseVM(object): > > args += self._data_args + extra_args + self._config['extra_args'] > > logging.debug("QEMU args: %s", " ".join(args)) > >

Re: [PATCH v8 12/12] tests/vm: Add workaround to consume console

2020-05-31 Thread Philippe Mathieu-Daudé
On 5/29/20 10:34 PM, Robert Foley wrote: > This adds support to basevm.py so that we always > drain the console chars. This makes use of > support added in an earlier commit that allows > QEMUMachine to use the ConsoleSocket. > > This is a workaround we found was needed since > there is a known

[PATCH v8 12/12] tests/vm: Add workaround to consume console

2020-05-29 Thread Robert Foley
This adds support to basevm.py so that we always drain the console chars. This makes use of support added in an earlier commit that allows QEMUMachine to use the ConsoleSocket. This is a workaround we found was needed since there is a known issue where QEMU will hang waiting for console