This is necessary for the following GMainLoop integration:
vdagentd currently uses a while-loop in which
vdagent_virtio_port_handle_fds() is repeatedly called.
If an IO error occurs, the function sets virtio_port to NULL.
This way, we can detect when the virtio_port has been destroyed and
try to r
Divide creation of udscs_server into 2 steps:
1) udscs_server_new()
- allocates new udscs_server struct and inits it
2) udscs_server_listen_to_fd(), udscs_server_listen_to_address()
- starts accepting new connections
Remove udscs_create_server() and udscs_create_server_for_fd().
This makes th
Hi all,
this series is an another branch from the GLib integration series I sent
earlier.
I've mainly addressed the comments from Victor.
Major changes:
* VDAgentConnection turned into a GObject
* problem with finalization of the VDAgentConnection solved
* several commits were squashed into "
Require UNIX-specific GIO package to build spice-vdagent.
This package includes:
- GDBus which is going to be used instead of libdbus in
console-kit.c and systemd-login.c
- I/O stream classes and networking APIs that are going to
be used in udscs.c and virtio-port.c instead of low-level
PO
1) VDAgentConnection
Add vdagent-connection.{c,h} files.
Define a new GObject: VDAgentConnection which can be used to easily
write messages to and read from the given FD.
VDAgentConnection uses GIO and therefore integrates well with GMainLoop.
Read messages must begin with a header of a fixed s
This layer communicates with libusb and libusbredir and
provides the API for USB redirection procedures.
All the modules of spice-gtk communicate only with usb
backend instead of calling libusb and usbredirhost directly.
This is prerequisite of further implementation of
cd-sharing via USB redirecti
USB backend communicates with libusb and libusbredir and
provides the API for USB redirection procedures.
All the modules communicate only with usb backend
instead of calling libusb and usbredirhost directly.
This is prerequisite of further implementation of
cd-sharing via USB redirection.
Changes
Currently mingw build of qmp-helper fails under mingw
due to undefined memmem function.
Disabling it for mingw till better solution.
Signed-off-by: Yuri Benditovich
---
configure.ac | 3 +++
src/qmp-port.c | 7 +++
2 files changed, 10 insertions(+)
diff --git a/configure.ac b/configure.ac