Hi,
This series adds isa-serial support to qemu-ga. This is done by opening
the serial port in "non-blocking" mode and using the GSourceFuncs API
(full details in patch 5/5).
I've tried two other simpler ways of implementing this w/o success:
1. By more or less doing what we do in qemu-ga POSIX, but opening
the serial port with g_io_channel_new_file()
2. By doing exactly what we do in qemu-ga POSIX (using open()
inclusive), but using g_io_channel_win32_new_fd() instead of
g_io_channel_unix_new()
Both tries failed with an assertion in g_io_channel_read_chars(), saying
that the channel wasn't readable...
Finally, I've tested this series on Windows 2008 (virtio-serial and isa-serial)
and Windows Vista (isa-serial only).
Luiz Capitulino (5):
configure: link qemu-ga.exe in default make target
qemu-ga: win32: add _ov suffix to current GSource functions
qemu-ga: win32: GAChannel: store GAChannelMethod being used
qemu-ga: win32: isolate virtio-serial specific code
qemu-ga: win32: add isa-serial support
configure | 2 +-
qga/channel-win32.c | 170 +++++++++++++++++++++++++++++++++++++++++-----------
2 files changed, 135 insertions(+), 37 deletions(-)
--
1.7.12.315.g682ce8b