Re: [Qemu-devel] high resolution timer question

2007-12-11 Thread Robert Reif
Robert Reif wrote: Characters written to serial port A are not reliably making it to the screen. Turning on serial debugging shows that the characters are written to the serial port. The characters do make it to the screen when debugging. The problem seems to be caused by multiple streams o

Re: [Qemu-devel] high resolution timer question

2007-12-11 Thread Robert Reif
Robert Reif wrote: The problem I'm having is with sparc32 using a sun openboot image in nographics mode where the prom uses serial port A as the system console. The serial port output shows up in the host terminal window that qemu was started in. Characters written to serial port A are not reli

Re: [Qemu-devel] high resolution timer question

2007-12-11 Thread Robert Reif
Blue Swirl wrote: On 12/10/07, Robert Reif <[EMAIL PROTECTED]> wrote: Writing data to a serial port on the sparc emulation happens immediately. I would like to throttle the write speed to match the actual baud rate. What's the best way to do this in qemu? Will QEMUTimer work for a 1 millise

Re: [Qemu-devel] high resolution timer question

2007-12-10 Thread Paul Brook
> > I think the throttling should be done at CharDriver level so that all > > targets and also other devices, like parallel ports (SUNW,bpp anyone?) > > But the timing is entirely a concept of the hardware devices. It seems > like it would be easier to just add a growable buffer, and then setup a

Re: [Qemu-devel] high resolution timer question

2007-12-10 Thread Anthony Liguori
Blue Swirl wrote: On 12/10/07, Robert Reif <[EMAIL PROTECTED]> wrote: Writing data to a serial port on the sparc emulation happens immediately. I would like to throttle the write speed to match the actual baud rate. What's the best way to do this in qemu? Will QEMUTimer work for a 1 millisec

Re: [Qemu-devel] high resolution timer question

2007-12-10 Thread Blue Swirl
On 12/10/07, Robert Reif <[EMAIL PROTECTED]> wrote: > Writing data to a serial port on the sparc emulation happens immediately. > I would like to throttle the write speed to match the actual baud rate. > What's the best way to do this in qemu? Will QEMUTimer work for a > 1 millisecond timer? Do y

RE: [Qemu-devel] high resolution timer question

2007-12-10 Thread Arnon Gilboa
The usb host controller emulations in qemu (usb-uhci & usb-ohci) use QEMUTimer for 1 millisecond timer. This precise interval is required for generating usb 1.1 frames. I currently implement usb 2.0 host controller emulation for qemu (usb-ehci). It uses QEMUTimer for generating usb 2.0 microframes