Re: [Qemu-devel] [PATCH 5/5] qemu-ga: win32: add isa-serial support

2012-11-01 Thread Luiz Capitulino
On Thu, 1 Nov 2012 14:13:52 -0500 Michael Roth wrote: > On Thu, Nov 01, 2012 at 02:55:20PM -0200, Luiz Capitulino wrote: > > On Thu, 1 Nov 2012 11:31:05 -0500 > > Michael Roth wrote: > > > > > On Wed, Oct 31, 2012 at 03:45:20PM -0200, Luiz Capitulino wrote: > > > > It's implemented by opening t

Re: [Qemu-devel] [PATCH 5/5] qemu-ga: win32: add isa-serial support

2012-11-01 Thread Michael Roth
On Thu, Nov 01, 2012 at 02:55:20PM -0200, Luiz Capitulino wrote: > On Thu, 1 Nov 2012 11:31:05 -0500 > Michael Roth wrote: > > > On Wed, Oct 31, 2012 at 03:45:20PM -0200, Luiz Capitulino wrote: > > > It's implemented by opening the serial port in "non-blocking" mode > > > and using the GSourceFun

Re: [Qemu-devel] [PATCH 5/5] qemu-ga: win32: add isa-serial support

2012-11-01 Thread Luiz Capitulino
On Thu, 1 Nov 2012 11:31:05 -0500 Michael Roth wrote: > On Wed, Oct 31, 2012 at 03:45:20PM -0200, Luiz Capitulino wrote: > > It's implemented by opening the serial port in "non-blocking" mode > > and using the GSourceFuncs API in the following way: > > > > o prepare(): issue a read request. If

Re: [Qemu-devel] [PATCH 5/5] qemu-ga: win32: add isa-serial support

2012-11-01 Thread Michael Roth
On Wed, Oct 31, 2012 at 03:45:20PM -0200, Luiz Capitulino wrote: > It's implemented by opening the serial port in "non-blocking" mode > and using the GSourceFuncs API in the following way: > > o prepare(): issue a read request. If something has been read, it's > stored in rs->buf an

[Qemu-devel] [PATCH 5/5] qemu-ga: win32: add isa-serial support

2012-10-31 Thread Luiz Capitulino
It's implemented by opening the serial port in "non-blocking" mode and using the GSourceFuncs API in the following way: o prepare(): issue a read request. If something has been read, it's stored in rs->buf and rs->pending will store the number of bytes read