Re: [Qemu-devel] [PATCH 13/13] vl.c: new function max_serial_hds()

2018-04-26 Thread Peter Maydell
On 20 April 2018 at 18:50, Philippe Mathieu-Daudé wrote: > On 04/20/2018 11:52 AM, Peter Maydell wrote: >> Create a new function max_serial_hds() which returns the number of >> serial ports defined by the user. This is needed only by spapr. >> This allows us to remove the MAX_SERIAL_PORTS define.

Re: [Qemu-devel] [PATCH 13/13] vl.c: new function max_serial_hds()

2018-04-25 Thread Thomas Huth
On 20.04.2018 16:52, Peter Maydell wrote: > Create a new function max_serial_hds() which returns the number of > serial ports defined by the user. This is needed only by spapr. > > This allows us to remove the MAX_SERIAL_PORTS define. > > Signed-off-by: Peter Maydell > --- > include/sysemu/syse

Re: [Qemu-devel] [PATCH 13/13] vl.c: new function max_serial_hds()

2018-04-20 Thread Philippe Mathieu-Daudé
On 04/20/2018 11:52 AM, Peter Maydell wrote: > Create a new function max_serial_hds() which returns the number of > serial ports defined by the user. This is needed only by spapr. > This allows us to remove the MAX_SERIAL_PORTS define. > > Signed-off-by: Peter Maydell > --- > include/sysemu/syse

[Qemu-devel] [PATCH 13/13] vl.c: new function max_serial_hds()

2018-04-20 Thread Peter Maydell
Create a new function max_serial_hds() which returns the number of serial ports defined by the user. This is needed only by spapr. This allows us to remove the MAX_SERIAL_PORTS define. Signed-off-by: Peter Maydell --- include/sysemu/sysemu.h | 6 -- hw/ppc/spapr.c | 2 +- vl.c