[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/5] qemu-ga: add isa-serial support to win32
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] [PATCH 0/5] qemu-ga: add isa-serial support to win32 |
Date: |
Wed, 31 Oct 2012 15:45:15 -0200 |
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
- [Qemu-devel] [PATCH 0/5] qemu-ga: add isa-serial support to win32,
Luiz Capitulino <=
- [Qemu-devel] [PATCH 3/5] qemu-ga: win32: GAChannel: store GAChannelMethod being used, Luiz Capitulino, 2012/10/31
- [Qemu-devel] [PATCH 1/5] configure: link qemu-ga.exe in default make target, Luiz Capitulino, 2012/10/31
- [Qemu-devel] [PATCH 2/5] qemu-ga: win32: add _ov suffix to current GSource functions, Luiz Capitulino, 2012/10/31
- [Qemu-devel] [PATCH 5/5] qemu-ga: win32: add isa-serial support, Luiz Capitulino, 2012/10/31
- [Qemu-devel] [PATCH 4/5] qemu-ga: win32: isolate virtio-serial specific code, Luiz Capitulino, 2012/10/31