[Spice-devel] [PATCH 0/4] backport PCI vdi_port

Alon Levy alevy at redhat.com
Thu Dec 30 05:07:22 PST 2010


add back support to the old PCI vdi port while maintaining support
for the newer virtio-serial port.

VDIPort becomes a base class, with two implementations, and vdservice 
tries for virtio-serial, then pci. Tested on RHEL55 with PCI port with
windows XP and on upstream qemu with virtio-serial with windows XP.

Alon Levy (4):
  start refactoring vdi_port
  vdi_port refactor: introduce interface
  vdi_port refactor: move ring handling to VDIPort, split h file,
    remove some debug prints
  vdi_port refactor: introduce old pci_vdi_port

 common/vdlog.h                |    1 +
 vdservice/pci_vdi_port.cpp    |  124 +++++++++++++++++
 vdservice/pci_vdi_port.h      |   54 +++++++
 vdservice/vdi_port.cpp        |  304 ++++++++++------------------------------
 vdservice/vdi_port.h          |   33 ++---
 vdservice/vdservice.cpp       |  113 +++++++++++-----
 vdservice/vdservice.vcproj    |   16 ++
 vdservice/virtio_vdi_port.cpp |  157 +++++++++++++++++++++
 8 files changed, 519 insertions(+), 283 deletions(-)
 create mode 100644 vdservice/pci_vdi_port.cpp
 create mode 100644 vdservice/pci_vdi_port.h
 create mode 100644 vdservice/virtio_vdi_port.cpp

-- 
1.7.3.4



More information about the Spice-devel mailing list