Re: [PATCH 14/19] python/qemu/machine: Allow to use other serial consoles than default

2019-10-09 Thread Cleber Rosa
On Thu, Sep 26, 2019 at 07:34:22PM +0200, Philippe Mathieu-Daudé wrote: > Currently we are limited to use the first serial console available. > Some machines/guest might use another console than the first one as > the 'boot console'. > > To be able to use the N console as default, we simply need t

Re: [PATCH 14/19] python/qemu/machine: Allow to use other serial consoles than default

2019-09-27 Thread Philippe Mathieu-Daudé
On 9/27/19 3:36 PM, Peter Maydell wrote: > On Fri, 27 Sep 2019 at 14:26, Guenter Roeck wrote: >> >> On Fri, Sep 27, 2019 at 02:54:10PM +0200, bzt wrote: >>> Hi, >>> >>> On 9/26/19, Philippe Mathieu-Daudé wrote: Currently we are limited to use the first serial console available. >>> >>> I'm n

Re: [PATCH 14/19] python/qemu/machine: Allow to use other serial consoles than default

2019-09-27 Thread Peter Maydell
On Fri, 27 Sep 2019 at 14:26, Guenter Roeck wrote: > > On Fri, Sep 27, 2019 at 02:54:10PM +0200, bzt wrote: > > Hi, > > > > On 9/26/19, Philippe Mathieu-Daudé wrote: > > > Currently we are limited to use the first serial console available. > > > > I'm not so sure. Right now it works like this: >

Re: [PATCH 14/19] python/qemu/machine: Allow to use other serial consoles than default

2019-09-27 Thread Guenter Roeck
On Fri, Sep 27, 2019 at 02:54:10PM +0200, bzt wrote: > Hi, > > On 9/26/19, Philippe Mathieu-Daudé wrote: > > Currently we are limited to use the first serial console available. > > I'm not so sure. Right now it works like this: > > qemu -serial stdio > Connects the VM's UART0 (PL011) serial con

Re: [PATCH 14/19] python/qemu/machine: Allow to use other serial consoles than default

2019-09-27 Thread bzt
Hi, On 9/26/19, Philippe Mathieu-Daudé wrote: > Currently we are limited to use the first serial console available. I'm not so sure. Right now it works like this: qemu -serial stdio Connects the VM's UART0 (PL011) serial console to the host terminal qemu -serial null -serial stdio Connects the

[PATCH 14/19] python/qemu/machine: Allow to use other serial consoles than default

2019-09-26 Thread Philippe Mathieu-Daudé
Currently we are limited to use the first serial console available. Some machines/guest might use another console than the first one as the 'boot console'. To be able to use the N console as default, we simply need to connect all the N - 1 consoles to the null chardev. Add an index argument, so w