Re: [Qemu-devel] Serial: possible hang during intensive interaction over the console

2014-12-11 Thread Paolo Bonzini
On 11/12/2014 16:06, Peter Maydell wrote: > An abstraction of that from the specifics of the PC's serial port > might be nice, yes. (omap_uart.c has to jump through some ugly hoops > currently, with more ugliness in the out-of-tree omap3 extensions.) > However I don't think it makes sense to forc

Re: [Qemu-devel] Serial: possible hang during intensive interaction over the console

2014-12-11 Thread Peter Maydell
On 11 December 2014 at 14:56, Paolo Bonzini wrote: > I think an abstraction of the "serial port" concept that is based on the > 16550A register set, and with arbitrarily sized FIFOs, would be nice to > have. All device models would talk to such abstraction. The 16550A is > well known and a lot o

Re: [Qemu-devel] Serial: possible hang during intensive interaction over the console

2014-12-11 Thread Paolo Bonzini
On 09/09/2014 17:28, Kirill Batuzov wrote: > In short: QEMU serial port transmits data as fast as it can ignoring > baud rate completely. As a result we are stuck in serial8250_interrupt > ISR in kernel most of the time. > > Overall we have a large issue with rate control and flow control for >

Re: [Qemu-devel] Serial: possible hang during intensive interaction over the console

2014-09-09 Thread Andrey Korolyov
On Tue, Sep 9, 2014 at 7:28 PM, Kirill Batuzov wrote: > On Fri, 5 Sep 2014, Andrey Korolyov wrote: > >> > >> > Heh, it is kernel- (defaults-) dependent after all. Debian hangs >> > always, on 3.10, 3.14 and 3.16, Fedora 20 works fine on 3.15. I`ll >> > check if there are any 82550-specific patches

Re: [Qemu-devel] Serial: possible hang during intensive interaction over the console

2014-09-09 Thread Kirill Batuzov
On Fri, 5 Sep 2014, Andrey Korolyov wrote: > > > > Heh, it is kernel- (defaults-) dependent after all. Debian hangs > > always, on 3.10, 3.14 and 3.16, Fedora 20 works fine on 3.15. I`ll > > check if there are any 82550-specific patches in Fedora tree a bit > > later. > > > It is a setting-depen

Re: [Qemu-devel] Serial: possible hang during intensive interaction over the console

2014-09-05 Thread Andrey Korolyov
On Thu, Sep 4, 2014 at 8:03 PM, Andrey Korolyov wrote: > On Thu, Sep 4, 2014 at 5:33 PM, Kirill Batuzov wrote: >> On Thu, 4 Sep 2014, Andrey Korolyov wrote: >>> >>> Thanks, the launch string can be borrowed from attach here: >>> http://lists.nongnu.org/archive/html/qemu-devel/2014-09/msg00482.htm

Re: [Qemu-devel] Serial: possible hang during intensive interaction over the console

2014-09-04 Thread Andrey Korolyov
On Thu, Sep 4, 2014 at 5:33 PM, Kirill Batuzov wrote: > On Thu, 4 Sep 2014, Andrey Korolyov wrote: >> >> Thanks, the launch string can be borrowed from attach here: >> http://lists.nongnu.org/archive/html/qemu-devel/2014-09/msg00482.html, >> the same VM is going under test. >> >> >> By hang I mean

Re: [Qemu-devel] Serial: possible hang during intensive interaction over the console

2014-09-04 Thread Kirill Batuzov
On Thu, 4 Sep 2014, Andrey Korolyov wrote: > > Thanks, the launch string can be borrowed from attach here: > http://lists.nongnu.org/archive/html/qemu-devel/2014-09/msg00482.html, > the same VM is going under test. > > > By hang I mean stopping ability to send icmp replies, it is like a > kind o

Re: [Qemu-devel] Serial: possible hang during intensive interaction over the console

2014-09-04 Thread Andrey Korolyov
On Thu, Sep 4, 2014 at 1:46 PM, Kirill Batuzov wrote: > On Wed, 3 Sep 2014, Andrey Korolyov wrote: > >> Given 2.1 and isa-serial output, set as ttyS0 for the guest VM with >> 9600 baud rate. >> >> The test case is quite simple - display as much data as possible over >> serial console and do not ha

Re: [Qemu-devel] Serial: possible hang during intensive interaction over the console

2014-09-04 Thread Kirill Batuzov
On Wed, 3 Sep 2014, Andrey Korolyov wrote: > Given 2.1 and isa-serial output, set as ttyS0 for the guest VM with > 9600 baud rate. > > The test case is quite simple - display as much data as possible over > serial console and do not hang the system. While qemu-1.1 works > perfectly, with complaini

[Qemu-devel] Serial: possible hang during intensive interaction over the console

2014-09-03 Thread Andrey Korolyov
Given 2.1 and isa-serial output, set as ttyS0 for the guest VM with 9600 baud rate. The test case is quite simple - display as much data as possible over serial console and do not hang the system. While qemu-1.1 works perfectly, with complaining for lost interrupts (known bug for used guest kernel