[Spice-devel] [PATCH 00/14] Backported some patches from refactory branch (April 7)

Jonathon Jongsma jjongsma at redhat.com
Thu Apr 7 22:11:13 UTC 2016


Christophe Fergeau (14):
  Move RedCharDeviceCallbacks into RedCharDeviceClass
  RedCharDevice: Add typedef for class virtual functions
  Introduce simple RedPipeItem class
  reds: Put PipeItem first in VDIReadBuf
  reds: Derive VDIPortReadBuf from RedPipeItem
  FIXME/HACK: RedPipeItem/VDIPortBuf refcounting hack
  smartcard: Derive MsgItem from RedPipeItem
  spicevmc: Derive SpiceVmcPipeItem from RedPipeItem
  char-device: Replace RedCharDeviceMsgToClient with RedPipeItem
  char-device: Remove RedCharDeviceClass::{un,}ref_msg_to_client
  Replace RedCharDevice::on_free_self_token with a signal
  Remove use of opaque from vdi_port_read_one_msg_from_device
  Use GQueue for RedCharDevice::send_queue
  Use weak gobject ref instead of reds_on_char_device_state_destroy

 server/Makefile.am     |   2 +
 server/char-device.c   | 169 ++++++++++++++++++++++---------------------------
 server/char-device.h   |  63 +++++++-----------
 server/red-channel.c   |   6 --
 server/red-channel.h   |  13 +---
 server/red-pipe-item.c |  65 +++++++++++++++++++
 server/red-pipe-item.h |  60 ++++++++++++++++++
 server/reds.c          | 148 ++++++++++++++++++++-----------------------
 server/reds.h          |   1 -
 server/smartcard.c     |  72 +++++++--------------
 server/spicevmc.c      |  83 +++++++-----------------
 11 files changed, 342 insertions(+), 340 deletions(-)
 create mode 100644 server/red-pipe-item.c
 create mode 100644 server/red-pipe-item.h

-- 
2.4.11



More information about the Spice-devel mailing list